-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enable ppc64le #29
Enable ppc64le #29
Changes from 6 commits
2f7436d
59d5fe2
689b0e2
0db4943
475c28f
215c091
0ab4d91
e16020f
060565a
7039cfc
76ea926
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '18' | ||
c_stdlib: | ||
- sysroot | ||
c_stdlib_version: | ||
- '2.17' | ||
cdt_name: | ||
- cos7 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '18' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
giflib: | ||
- '5.2' | ||
jpeg: | ||
- '9' | ||
libhwy: | ||
- '1.1' | ||
libjpeg_turbo: | ||
- '3' | ||
libpng: | ||
- '1.6' | ||
openexr: | ||
- '3.2' | ||
target_platform: | ||
- linux-ppc64le | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- - c_stdlib_version | ||
- cdt_name | ||
zlib: | ||
- '1' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
c_compiler: | ||
- clang # [ppc64le] | ||
c_compiler_version: | ||
- 18 # [ppc64le] | ||
cxx_compiler: | ||
- clangxx # [ppc64le] | ||
cxx_compiler_version: | ||
- 18 # [ppc64le] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that the version must be specified (475c28f). I'm wondering if this could be automatically updated by conda-forge-admin.
Related: https://conda-forge.org/news/2024/04/30/clang-everywhere/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
conda_build_config.yaml
file is used to manually override or specify the compiler and its version. I followed the article you referred to (please see the summary) because the package failed to build with GCC.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, could you add a comment with a link to related issues saying that we forced clang due to ICE in GCC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, I'm just asking whether we have to manually upgrade the compiler version in the future to be compatible with the pinned dependencies. It seems that the Clang toolchain hasn't been pinned yet and it might cause problems due to conflicting C++ std library versions.
Edit: I just checked the build and it seems it's linked with
libstdcxx
. That solves my problem!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I'm not sure about pinning the Clang toolchain. Feel free to make any changes that make sense to you.