-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[deps] split Versions.make
into standalone *.version
file
#45720
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
load `LLVM_ASSERT_JLL_VER` (Line290) before `bb-install`
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.
There are some version number mismatches, but perhaps this should be fixed in a new pr.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
15f31d5
to
1850865
Compare
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
…into build-rm-Versions.make
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
…into build-rm-Versions.make
New idea: Add a target |
LIBSSH2_VER := 1.10.2 | ||
LIBSSH2_BRANCH=libssh2-1.10.0 |
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.
Version mismatch, ref: #43250
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.
@nalimilan Any thoughts on how to address this one?
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.
1.10.2 doesn't exist upstream, AFAICT that's a trick used in Yggdrasil. Cf. #43250 (comment) Maybe @mkitti knows.
@@ -0,0 +1,28 @@ | |||
## All `_jll` names and versions |
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.
Is it possible to do something automatic here - something like include *.version
so that we don't have to update manually here in the future?
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.
It looks like you can just use wildcards.
include foo *.mk $(bar)
Maybe we could use one line include $(JULIAHOME)/deps/*.version
to replace the whole file.
But I'd link to open a new pr for this.
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.
Sure.
This PR looks pretty good to merge. We should get it in before too many conflicts arise. I feel that any breakages that happen here can be swiftly addressed. @inkydragon The merge conflict should be easy to address. Sorry to create some extra work for you. |
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
…into build-rm-Versions.make
Should we merge? |
@vtjnash I think this pr is ready to be merged. Is there anything else I need to do? I can also split this pr into 2 or 3 smaller pr's for review if necessary. |
I feel this is good to merge and mostly straightforward. Let's wait a day for @vtjnash. |
…ang#45720) * deps: include `$(LibName).version` * deps: rm `Versions.make` * repo: update `julia.spdx.json` * deps: split `unwind.version`, add new `llvmunwind.version` * deps: split `llvm.version` into `clang.version` + `llvm-tools.version` * stdlib: Add new makefile `all_jlls.version` to include all `_jll` names * deps/LibUnwind_jll: fix version mismatch (`Project.toml` and `checksum`), xref: JuliaLang#42782
## Other deps | ||
# Specify the version of the Mozilla CA Certificate Store to obtain. | ||
# The versions of cacert.pem are identified by the date (YYYY-MM-DD) of their changes. | ||
# See https://curl.haxx.se/docs/caextract.html for more details. | ||
MOZILLA_CACERT_VERSION := 2022-02-01 |
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.
@inkydragon why this is here instead of its own file?
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.
Because libgit2 depends on it directly.
The download and installation code is also placed in libgit2.mk
.
CA certificates can be split out as a separate dependency if necessary.
ref: #40430
Versions.make
, put all version info into standalone*.version
filesjulia.spdx.json
Versions.make
stdlib/all_jlls.version
to replaceVersions.make
instdlib/Makefile