Closed ngam closed 2 years ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
In 1d3d5f2, I simply modified the a fundamental file to instruct it to add aarch and ppc and use default settings. These defaults sometimes change, but we will see if it will be emulation or cross-compilation. (I can't know from memory.).
Then, instead of "rerendering" locally, we could just call it to rerender here like below:
@conda-forge-admin, please rerender.
This triggers a github action: https://github.com/conda-forge/jaxlib-feedstock/actions/runs/2864558941 that essentially does conda smithy rerender
. Note jaxlib (as well as tensorflow) are some of the more annoyingly lengthy rerendering --- approx 15 mins. Most other feedstocks take like a minute or two.
Here, I didn't have to modify much (yet) because we are already cross-compiling for osx-arm64, and those settings carry over, so we should be covered generally. We will likely need to edit the build.sh file soon, once we recognize where it errors...
They default seems to be travis these days. We have our error(s). Same for both ppc and aarch.
ERROR: /home/conda/feedstock_root/build_artifacts/jaxlib_1660613310262/_build_env/share/bazel/4f8bf64fd1fb810033b876032dab1c49/external/bazel_tools/tools/zip/BUILD:11:1: indentation error
1069ERROR: /home/conda/feedstock_root/build_artifacts/jaxlib_1660613310262/_build_env/share/bazel/4f8bf64fd1fb810033b876032dab1c49/external/bazel_tools/tools/zip/BUILD:14:2: Trailing comma is allowed only in parenthesized tuples.
1070ERROR: /home/conda/feedstock_root/build_artifacts/jaxlib_1660613310262/_build_env/share/bazel/4f8bf64fd1fb810033b876032dab1c49/external/bazel_tools/tools/zip/BUILD:14:3: syntax error at 'outdent': expected expression
1071WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
1072ERROR: /home/conda/feedstock_root/build_artifacts/jaxlib_1660613310262/work/build/BUILD.bazel:38:10: every rule of type py_binary implicitly depends upon the target '@bazel_tools//tools/zip:zipper', but this target could not be found because of: no such target '@bazel_tools//tools/zip:zipper': target 'zipper' not declared in package 'tools/zip' defined by /home/conda/feedstock_root/build_artifacts/jaxlib_1660613310262/_build_env/share/bazel/4f8bf64fd1fb810033b876032dab1c49/external/bazel_tools/tools/zip/BUILD
1073ERROR: Analysis of target '//build:build_wheel' failed; build aborted: Analysis failed
1074INFO: Elapsed time: 58.535s
1075INFO: 0 processes.
1076FAILED: Build did NOT complete successfully (46 packages loaded, 141 targets configured)
1077ERROR: Build failed. Not running target
1078FAILED: Build did NOT complete successfully (46 packages loaded, 141 targets configured)
1079
To save bandwidth and to help us run things more clearly, I am going to disable all builds except for python3.10 ppc/aarch openssl1.1.1
Cross-compilation companion: #128
Fixes #125
(I will also try to explain the steps for @hawkinsp below, also added you as a contributor to my fork, but feel free to start your own separate following my initial points here --- I am also happy if you'd like to add yourself to the maintainers here, a bot command will trigger a PR
@conda-forge-admin, please add user @username
)Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)