mirror of
https://github.com/logos-storage/nim-leopard.git
synced 2026-01-06 23:53:10 +00:00
attempt to fix macos if
This commit is contained in:
parent
ab9bdabc3c
commit
5c08eca9e9
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
run: nimble install -y
|
||||
- name: Build and run tests
|
||||
run: |
|
||||
if [[ ${{ matrix.platform.os }} = macos ]]; then
|
||||
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'"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user