Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for linux-ppc64le #44

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Merge branch 'main' into patch-1
  • Loading branch information
MementoRC authored Oct 27, 2024
commit ad42cd7b560afdbab4bbef2d7fa7767c54a48b44
3 changes: 2 additions & 1 deletion azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ source:
- url: https://github.com/ziglang/zig/archive/refs/tags/{{ version }}.tar.gz
sha256: d3912858003e340f315224bf177d0f441d86b81f62854f5c141b6d51ab6b5516
patches:
- patches/0001-cross-findllvm.patch # [linux and (aarch64 or ppc64le)]
- patches/0001-cross-findllvm.patch # [linux and aarch64]
# May be combined into a single patch once the build is found robust (few versions of zig)
- patches/0001-win-set-MD-CMakeLists.txt.patch # [win]
- patches/0002-win-deprecations.patch # [win]
- patches/0003-win-LLVM_LIBRARIES-CMakeLists.txt.patch # [win]
- patches/0004-win-ZIG2_LINK_FLAGS-CMakeLists.txt.patch # [win]
- patches/0005-win-ZIG_BUILD_ARGS-CMakeLists.txt.patch # [win]
- patches/0006-win-add-libdir-build.zig.patch # [win]
folder: zig-source

# We may need to use the upstream binary dist if conda ZIG cannot build a newer version
Expand All @@ -26,7 +33,6 @@ source:

build:
number: 4
skip: true # [not linux and not osx]
script_env:
- BUILD_WITH_CMAKE=1 # [(linux or osx or win) and x86_64]
ignore_run_exports:
Expand All @@ -51,6 +57,7 @@ requirements:
- llvm {{ llvm_version }}
- lld {{ llvm_version }}
- sysroot_{{ target_platform }} >=2.28 # [linux and (aarch64 or ppc64le)]
- libxml2 # [win]
- zlib
- zstd
run:
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.