ARM64 support
This commit is contained in:
parent
3552a8abfa
commit
52590023bc
|
@ -0,0 +1,2 @@
|
||||||
|
nimcache/
|
||||||
|
|
12
.travis.yml
12
.travis.yml
|
@ -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"
|
# when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X"
|
||||||
depth: 10
|
depth: 10
|
||||||
|
|
||||||
os:
|
matrix:
|
||||||
- linux
|
include:
|
||||||
- osx
|
- os: linux
|
||||||
|
arch: amd64
|
||||||
|
sudo: required
|
||||||
|
- os: linux
|
||||||
|
arch: arm64
|
||||||
|
sudo: required
|
||||||
|
- os: osx
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# build nim from our own branch - this to avoid the day-to-day churn and
|
# build nim from our own branch - this to avoid the day-to-day churn and
|
||||||
|
|
|
@ -49,7 +49,8 @@ else:
|
||||||
|
|
||||||
when sizeof(int) == 8:
|
when sizeof(int) == 8:
|
||||||
{.passC: "-DBR_64=1".}
|
{.passC: "-DBR_64=1".}
|
||||||
{.passC:" -DBR_amd64=1".}
|
when hostCPU == "amd64":
|
||||||
|
{.passC:" -DBR_amd64=1".}
|
||||||
when defined(vcc):
|
when defined(vcc):
|
||||||
{.passC: "-DBR_UMUL128=1".}
|
{.passC: "-DBR_UMUL128=1".}
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue