julia: fix for libuv and Julia (#35776)

Use correct `shlib_symbol_version` for Julia 1.8, work around issue where libuv-julia's git checkout has arbitrary mtime, causing make to regenerate configure scripts, sometimes.
This commit is contained in:
Robert Underwood 2023-03-02 10:36:55 -05:00 committed by GitHub
parent 28f4b5729a
commit 07c8939679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Julia(MakefilePackage):
depends_on("libblastrampoline@5.1.0:5")
depends_on("libgit2@1.3.0:1.3")
depends_on("libssh2@1.10.0:1.10")
depends_on("llvm@13.0.1 shlib_symbol_version=jl")
depends_on("llvm@13.0.1 shlib_symbol_version=JL_LLVM_13.0")
depends_on("mbedtls@2.28.0:2.28")
depends_on("openlibm@0.8.1:0.8", when="+openlibm")
depends_on("nghttp2@1.47.0:1.47")

View File

@ -18,6 +18,13 @@ class LibuvJulia(AutotoolsPackage):
version("1.44.1", commit="1b2d16477fe1142adea952168d828a066e03ee4c")
version("1.42.0", commit="3a63bf71de62c64097989254e4f03212e3bf5fc8")
def autoreconf(self, spec, prefix):
# @haampie: Configure files are checked in, but git does not restore mtime
# by design. Therefore, touch files to avoid regenerating those.
touch("aclocal.m4")
touch("Makefile.in")
touch("configure")
@property
def libs(self):
return find_libraries(["libuv"], root=self.prefix, recursive=True, shared=False)