From 3bfa7ae98acb203150d068345a0934b937a6772d Mon Sep 17 00:00:00 2001 From: Josh Baldwin Date: Thu, 23 May 2024 17:50:26 -0600 Subject: [PATCH] Macos CI failing on M1 Updated paths using $(brew --prefix llvm@17)/bin --- .github/workflows/ci-macos.yml | 1 + CMakeLists.txt | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index 30662e5..cd3ba6f 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -26,6 +26,7 @@ jobs: - name: Release run: | brew --prefix llvm@17 + ls $(brew --prefix llvm@17)/bin mkdir Release cd Release cmake \ diff --git a/CMakeLists.txt b/CMakeLists.txt index 226fd6c..c43b40b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()