Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swift: Workaround Hydra darwin build problem
When the host platform is darwin, building swift on Hydra and Github Actions with ninja 1.12 will both give the same error: ``` ld: warning: directory not found for option '-L/nix/store/g9rbp9m6vs1xj4jl6b6vjb6bm8kgr107-SDKs/MacOSX10.15.sdk/usr/lib/swift' ... ld: warning: Could not find or use auto-linked library 'swiftCompatibility56' Undefined symbols for architecture arm64: "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from: __swift_FORCE_LOAD_$_swiftCompatibility56_$_Optimizer in libswiftCompilerModules-bootstrapping1.a(Optimizer.o) ... ``` Beware the failure does not happen on developers' local machines. Until we find out the exact cause, pin ninja to version 1.11 to workaround the problem.
- Loading branch information