diff options
| author | Zhong Jianxin <azuwis@gmail.com> | 2024-11-08 09:10:53 +0800 |
|---|---|---|
| committer | Zhong Jianxin <azuwis@gmail.com> | 2024-11-08 12:31:09 +0800 |
| commit | 8dfed1b9a444dca8e41a1d0f90436664f902634e (patch) | |
| tree | 7cb3d1322a3677e2f1debfbe07cc8e870b5d8d4a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 05ccba8ceef70e4e30c3952b69a9364f0c2c8a1b (diff) | |
swift: Workaround Hydra darwin build problem
Fail to build with ninja 1.12 when NIX_BUILD_CORES is low (Hydra or Github Actions):
```
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)
...
```
Can reproduce using `nix --option cores 2 build -f . swiftPackages.swift-unwrapped`.
Until we find out the exact cause, follow [swift upstream][1], pin ninja to version
1.11.1.
[1]: https://github.com/swiftlang/swift/pull/72989
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
