Skip to content

Commit c4cd00a

Browse files
committed
further copilot improvements
1 parent 48c8296 commit c4cd00a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/testMacOS.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,19 @@ jobs:
4040
- name: Configure Homebrew clang (symlink for easier access)
4141
run: |
4242
brew unlink llvm && brew link llvm --force --overwrite
43+
44+
- name: Symlink system ld for Homebrew clang
45+
run: |
46+
ln -sf /usr/bin/ld /opt/homebrew/bin/ld
47+
ln -sf /usr/bin/ld /opt/homebrew/opt/llvm/bin/ld
4348
4449
- name: Configure CMake with Homebrew clang and OpenMP support
4550
env:
4651
LDFLAGS: "-L/opt/homebrew/opt/libomp/lib"
4752
CPPFLAGS: "-I/opt/homebrew/opt/libomp/include"
4853
CC: "/opt/homebrew/opt/llvm/bin/clang"
4954
CXX: "/opt/homebrew/opt/llvm/bin/clang++"
50-
PATH: "/opt/homebrew/opt/llvm/bin:$PATH"
51-
LD: "/usr/bin/ld"
55+
PATH: "/opt/homebrew/opt/llvm/bin:/opt/homebrew/bin:$PATH"
5256
run: |
5357
cmake -B build \
5458
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
@@ -57,7 +61,6 @@ jobs:
5761
-DCMAKE_C_COMPILER="$CC" \
5862
-DCMAKE_CXX_COMPILER="$CXX" \
5963
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include" \
60-
-DCMAKE_LINKER=$LD \
6164
-DCMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/opt/libomp/lib -lomp"
6265
6366
- name: Build

0 commit comments

Comments
 (0)