Skip to content

Commit

Permalink
Macos CI failing on M1
Browse files Browse the repository at this point in the history
Updated paths using $(brew --prefix llvm@17)/bin
  • Loading branch information
jbaldwin committed Jul 11, 2024
1 parent 5697678 commit 3bfa7ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Release
run: |
brew --prefix llvm@17
ls $(brew --prefix llvm@17)/bin
mkdir Release
cd Release
cmake \
Expand Down
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ project(libcoro

if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(MACOSX TRUE)
# We need to build with clang >= 17, assuming its installed by
# brew. We also need to force linking to libc++.a
add_link_options(-L/usr/local/opt/llvm/lib)
link_libraries(-lc++)
endif()

Expand Down

0 comments on commit 3bfa7ae

Please sign in to comment.