-
Notifications
You must be signed in to change notification settings - Fork 512
Description
Bug description
A new clone of rc-3.5.0 does not directly compile on MacbookPro17,1 (early M1 chipset) with Monterey
From HomeBrew:
- CMake v 3.22.4
- gcc/gfortran v 12.2
- make 3.8.1
- XCode command line 13.4?
Interestingly v 3.4.1 compiles just fine on this hardware. So there must be something in the rc-3.5.1 changes to CMake that cause linking issues on this specific hardware configuration.
To troubleshoot, we checked everything in CMakeCache.txt, specified exact paths to all compilers and linkers, and checked the SDK version. Nothing appeared out of the ordinary in any of that. We also compared the link.txt and other files in CMake build system with a clean compile of rc-3.5.0 on an Intel based Mac, but did not find anything unusual.
I will attempt to commandeer a 2020 M1 and attempt this build process to reproduce.
To Reproduce
Steps to reproduce the behavior:
- Fresh clone of OpenFAST from GH
- checkout branch
rc-3.5.0 mkdir build; cmake .. -DBUILD_SHARED=On; make -j4 openfastlib- Everything compiles, but linking fails
After checking this, git checkout v3.4.1 followed by removing everything in build and repeating step 3 above works just fine.
OpenFAST Version
rc-3.5.0 branch of OpenFAST