Compiling stdlib with cross-compiler #654
Labels
bug
Something isn't working
build: cmake
Issue with stdlib's CMake build files
platform: MacOS
Build issues specific to the MacOS platform
Description
I encounter some errors when trying to cross-compile stdlib on conda-forge for MacOS/Arm64. Specifically, it has to do with the test for f18errorstop, which does not work in cross-compiling mode.
Currently, I'm patching this with the help of some compiler flags that @awvwgk gave me:
-Df18errorstop_EXITCODE=1 -Df18errorstop_EXITCODE__TRYRUN_OUTPUT=''
Expected Behaviour
Not really sure what would be the best way to fix this as I am not a very proficient CMake user, but it seems that it is possible to detect when cross-compiling, and adjust which tests are run accordingly.
Version of stdlib
fb4ca80
Platform and Architecture
MacOS/Arm
Additional Information
No response
The text was updated successfully, but these errors were encountered: