[libgiac_julia] New recipe v0.4.0#13230
Open
s-celles wants to merge 15 commits intoJuliaPackaging:masterfrom
Open
[libgiac_julia] New recipe v0.4.0#13230s-celles wants to merge 15 commits intoJuliaPackaging:masterfrom
s-celles wants to merge 15 commits intoJuliaPackaging:masterfrom
Conversation
- Handle Windows import libraries (.dll.a) in ${prefix}/lib/
- Build only giac_wrapper target (skip test linking on Windows)
- Restrict to Linux and Windows (macOS/FreeBSD ABI mismatch)
- Update libcxxwrap_julia_jll compat to ~0.14.9 for Julia 1.13/1.14
On macOS/FreeBSD, GIAC_jll (g++/libstdc++) and libcxxwrap_julia_jll (clang++/libc++) have incompatible std::string ABIs. This adds a dual-compiler build: giac_impl.cpp is compiled with g++, giac_wrapper.cpp with clang++, bridged by extern "C" functions. All platforms now supported (macOS/FreeBSD no longer filtered out).
On aarch64-apple-darwin, GCC's static libstdc++.a has iOS platform tags causing ld64.lld to reject it. Building libgiac_cabi as a shared library lets g++ resolve its own runtime libraries internally, so clang++ doesn't need to link libstdc++ or libgcc at all.
giordano
reviewed
Mar 8, 2026
Contributor
Author
|
seems hanging. Any idea @giordano what is going only? Maybe you can retrigger just that platform? |
giordano
reviewed
Mar 9, 2026
L/libgiac_julia/build_tarballs.jl
Outdated
Comment on lines
+101
to
+102
| Dependency("GMP_jll"), | ||
| Dependency("MPFR_jll"), |
Member
There was a problem hiding this comment.
You must specify compat bounds for GMP and MPFR, see other packages
Contributor
Author
There was a problem hiding this comment.
Thanks @giordano. I don't publish much Yggdrasil recipes. I changed it to (try to) align both with other packages and also to GIAC_jll
giordano
reviewed
Mar 9, 2026
| BuildDependency(PackageSpec(;name="libjulia_jll", version="1.11.0")), | ||
| Dependency("GMP_jll"; compat="~6.2"), | ||
| Dependency("MPFR_jll"; compat="~4.2"), | ||
| Dependency("libcxxwrap_julia_jll"; compat = "~0.14.9"), |
Member
There was a problem hiding this comment.
Tying to minor versions is too restrictive and won't actually work in newer Julia versions
Suggested change
| Dependency("libcxxwrap_julia_jll"; compat = "~0.14.9"), | |
| Dependency("GMP_jll"; compat="6.2.1"), | |
| Dependency("MPFR_jll"; compat="4.1.1"), |
| Dependency("GMP_jll"; compat="~6.2"), | ||
| Dependency("MPFR_jll"; compat="~4.2"), | ||
| Dependency("libcxxwrap_julia_jll"; compat = "~0.14.9"), | ||
| Dependency("GIAC_jll"; compat = "~2.0.0"), |
Member
There was a problem hiding this comment.
Why tilde? Does upstream break ABI/API in every minor release?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
libgiac_juliav0.3.0libgiac_wrappershared library with Gen type operations, function dispatch, type introspection, and value extractionGIAC_jll(merged in feat: add GIAC v2.0.0 build recipe #13101),libcxxwrap_julia_jll,GMP_jll,MPFR_jll