Bug
#1038 introduces installing ystdlib as a CMake package. However, on macOS, all dependencies are built with AppleClang instead of clang++ from llvm@16 installed through homebrew. On older macOS, i.e. macOS-13 and macOS-14, the old versions of AppleClang do not support C++ 20, which is required by ystdlib. Thus, ystdlib cannot be built on these platforms. #1038 temporarily disables GitHub workflows for these two platforms.
Solutions explored
We have tried to set up environment variables LLVM_PREFIX, CC, CXX, AR, RANLIB through GITHUB_ENV to instruct CMake to use clang++ to build all dependencies. However, the environment variables confuses clang-tidy to use llvm@16 system libraries, while clp and all dependencies are built using macOS sdk system libraries for compatibility with homebrew installed libraries.
CLP version
6815890
Environment
macOS-13 and macOS-14
Reproduction steps
GitHub workflows fail
Bug
#1038 introduces installing
ystdlibas a CMake package. However, on macOS, all dependencies are built withAppleClanginstead ofclang++fromllvm@16installed throughhomebrew. On older macOS, i.e. macOS-13 and macOS-14, the old versions ofAppleClangdo not support C++ 20, which is required byystdlib. Thus,ystdlibcannot be built on these platforms. #1038 temporarily disables GitHub workflows for these two platforms.Solutions explored
We have tried to set up environment variables
LLVM_PREFIX,CC,CXX,AR,RANLIBthroughGITHUB_ENVto instructCMaketo useclang++to build all dependencies. However, the environment variables confusesclang-tidyto usellvm@16system libraries, whileclpand all dependencies are built using macOS sdk system libraries for compatibility withhomebrewinstalled libraries.CLP version
6815890
Environment
macOS-13 and macOS-14
Reproduction steps
GitHub workflows fail