Skip to content

Conversation

@shenxianpeng
Copy link
Contributor

@shenxianpeng shenxianpeng added the github_actions Pull requests that update GitHub Actions code label Nov 4, 2025
@2bndy5
Copy link

2bndy5 commented Nov 5, 2025

Versions 9, 10, & 11 seem to have problems with the installed CMake version:

Compatibility with CMake < 3.5 has been removed from CMake

Could probably make progress there by installing a CMake version prior to 3.5? Should probably inspect the CMakeLists.txt file being used (from downloaded LLVM snapshot).


Version 17 causes the linker to not like the targeted MacOS framework:

ld: warning: object file (/opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/libstdc++.a19) was built for newer 'macOS' version (15.0) than being linked (10.15)


Again, I know nothing about compiling C for MacOS.
I think this might be adjusted in the CI (-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15):

os-cmake-args: '-DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++ -flto -ffunction-sections -fdata-sections" -DCMAKE_EXE_LINKER_FLAGS="-Wl,-dead_strip" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 ${POSIX_CMAKE_ARGS} ${MACOS_CMAKE_ARGS} -DLLVM_TARGETS_TO_BUILD=X86'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants