mirror of
https://github.com/logos-storage/nim-bearssl.git
synced 2026-02-27 08:33:08 +00:00
ARM64 support
This commit is contained in:
parent
3552a8abfa
commit
52590023bc
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -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"
|
||||
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
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user