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

[CompilerSupportLibraries_jll] Update to v0.5.2 #44487

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

giordano
Copy link
Contributor

@giordano giordano commented Mar 6, 2022

The main difference since previous version should be the libraries for
aarch64-apple-darwin, which are based on a more recent version of the GCC fork
for this platform. There are a couple of notable ABI changes here:

Usual memo to self, update the library:

  • change the version number in stdlib/CompilerSupportLibraries_jll/Project.toml,
  • run make -f contrib/refresh_checksums.mk -j csl and remove the old checksums from the updated file deps/checksums/compilersupportlibraries

@giordano giordano added domain:building Build system, or building Julia or its dependencies external dependencies Involves LLVM, OpenBLAS, or other linked libraries system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips labels Mar 6, 2022
@giordano giordano added backport 1.7 backport 1.8 Change should be backported to release-1.8 labels Mar 6, 2022
@giordano giordano force-pushed the mg/csl branch 2 times, most recently from 99ebcb4 to 35a4196 Compare March 6, 2022 19:06
@@ -1,4 +1,4 @@
# -*- mode: makefile-gmake -*-
# -*- mode: makefile -*-
Copy link
Contributor Author

@giordano giordano Mar 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to Emacs, now we have proper syntax highlighting in GitHub for this file 🙂

The main difference since previous version should be the libraries for
aarch64-apple-darwin, which are based on a more recent version of the GCC fork
for this platform.  There are a couple of notable ABI changes here:

* `libgcc_s` is now called `libgcc_s.1.1.dylib` instead of `libgcc_s.2.dylib`
* there is now `libquadmath.0.dylib` for this platform, which was missing
  before.
Comment on lines +207 to +211
ifeq ($(APPLE_ARCH),arm64)
$(eval $(call symlink_system_library,CSL,libgcc_s,1.1))
else
$(eval $(call symlink_system_library,CSL,libgcc_s,1))
endif
Copy link
Contributor Author

@giordano giordano Mar 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fxcoudert can you please try this out now? Ref: #44435 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirm that this change works for me.

@giordano giordano merged commit cb2fa5d into JuliaLang:master Mar 9, 2022
@giordano giordano deleted the mg/csl branch March 9, 2022 01:44
KristofferC pushed a commit that referenced this pull request Mar 11, 2022
The main difference since previous version should be the libraries for
aarch64-apple-darwin, which are based on a more recent version of the GCC fork
for this platform.  There are a couple of notable ABI changes here:

* `libgcc_s` is now called `libgcc_s.1.1.dylib` instead of `libgcc_s.2.dylib`
* there is now `libquadmath.0.dylib` for this platform, which was missing
  before.

(cherry picked from commit cb2fa5d)
@KristofferC KristofferC removed the backport 1.8 Change should be backported to release-1.8 label Mar 15, 2022
KristofferC pushed a commit that referenced this pull request Apr 19, 2022
The main difference since previous version should be the libraries for
aarch64-apple-darwin, which are based on a more recent version of the GCC fork
for this platform.  There are a couple of notable ABI changes here:

* `libgcc_s` is now called `libgcc_s.1.1.dylib` instead of `libgcc_s.2.dylib`
* there is now `libquadmath.0.dylib` for this platform, which was missing
  before.

(cherry picked from commit cb2fa5d)
@KristofferC KristofferC mentioned this pull request Apr 19, 2022
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies external dependencies Involves LLVM, OpenBLAS, or other linked libraries system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libeccodes_f90.dylib load error: libquadmath.0.dylib could not be found (macOS Apple Silicon)
4 participants