ARM64 support

This commit is contained in:
Ștefan Talpalaru 2019-10-17 16:58:26 +02:00
parent 3552a8abfa
commit 52590023bc
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
3 changed files with 13 additions and 4 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
nimcache/

View File

@ -9,9 +9,15 @@ git:
# when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X"
depth: 10
os:
- linux
- osx
matrix:
include:
- os: linux
arch: amd64
sudo: required
- os: linux
arch: arm64
sudo: required
- os: osx
install:
# build nim from our own branch - this to avoid the day-to-day churn and

View File

@ -49,7 +49,8 @@ else:
when sizeof(int) == 8:
{.passC: "-DBR_64=1".}
{.passC:" -DBR_amd64=1".}
when hostCPU == "amd64":
{.passC:" -DBR_amd64=1".}
when defined(vcc):
{.passC: "-DBR_UMUL128=1".}
else: