mirror of
https://github.com/logos-storage/nim-leopard.git
synced 2026-01-02 13:43:08 +00:00
change version to 1.6.20 and stable, and disable openmp on macos
As per comment https://github.com/status-im/leopard/pull/1#issuecomment-1146601769
This commit is contained in:
parent
9b6a047864
commit
957d976ddb
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
cache_nonce: [ 1 ]
|
||||
nim_version: [ 1.6, 2.0 ]
|
||||
nim_version: [ 1.6.20, stable ]
|
||||
platform:
|
||||
- {
|
||||
icon: 🐧,
|
||||
@ -140,7 +140,7 @@ jobs:
|
||||
if [[ ${{ matrix.platform.os }} = macos ]]; then
|
||||
export PATH="$(brew --prefix llvm@14)/bin:${PATH}"
|
||||
export LDFLAGS="-L$(brew --prefix libomp)/lib -L$(brew --prefix llvm@14)/lib -Wl,-rpath,$(brew --prefix llvm@14)/lib"
|
||||
compiler_extra_options="-d:LeopardCmakeFlags='-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$(brew --prefix llvm@14)/bin/clang -DCMAKE_CXX_COMPILER=$(brew --prefix llvm@14)/bin/clang++' -d:LeopardExtraCompilerlags='-fopenmp' -d:LeopardExtraLinkerFlags='-fopenmp -L$(brew --prefix libomp)/lib'"
|
||||
compiler_extra_options="-d:LeopardCmakeFlags='-DENABLE_OPENMP=off -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$(brew --prefix llvm@14)/bin/clang -DCMAKE_CXX_COMPILER=$(brew --prefix llvm@14)/bin/clang++' -d:LeopardExtraCompilerlags='-fopenmp' -d:LeopardExtraLinkerFlags='-fopenmp -L$(brew --prefix libomp)/lib'"
|
||||
fi
|
||||
eval nimble --verbose test -d:release --mm:refc ${compiler_extra_options}
|
||||
eval nimble --verbose test -d:release --mm:orc ${compiler_extra_options}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user