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

[deps] split Versions.make into standalone *.version file #45720

Merged
merged 31 commits into from
Jun 28, 2022
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ba0d45d
deps: split `Versions.make` into standalone `*.version` file
inkydragon Jun 16, 2022
3920564
repo: update `julia.spdx.json`
inkydragon Jun 16, 2022
b33e5c2
deps: rm `Versions.make`
inkydragon Jun 16, 2022
9e14d10
deps: include `$(LibName).version`
inkydragon Jun 16, 2022
07c6f39
deps: split `unwind.version`, add new `llvmunwind.version`
inkydragon Jun 16, 2022
99a4538
deps: split `llvm.version` into `clang.version` + `llvm-tools.version`
inkydragon Jun 16, 2022
c1c0910
stdlib: Add new makefile `all_jlls.version` to include all `_jll` names
inkydragon Jun 16, 2022
2c12e0f
Makefile: use `LF` for all makefiles
inkydragon Jun 16, 2022
0d727d4
deps/llvm: include `llvm.version`
inkydragon Jun 17, 2022
bda346a
Merge branch 'master' into build-rm-Versions.make
inkydragon Jun 17, 2022
1850865
deps/llvm: adjust include sequence, include `.version` first
inkydragon Jun 17, 2022
741cd3a
Merge branch 'master' into build-rm-Versions.make
inkydragon Jun 18, 2022
809a97f
deps/llvm: update to 14.0.2
inkydragon Jun 18, 2022
badc75d
Update deps/unwind.version
inkydragon Jun 18, 2022
ba29534
Merge branch 'build-rm-Versions.make' of github.com:inkydragon/julia …
inkydragon Jun 18, 2022
bae11d8
deps/LibUnwind_jll: fix version mismatch (`Project.toml` and `checksum`)
inkydragon Jun 18, 2022
90b6055
Update deps/llvm-tools.version
inkydragon Jun 18, 2022
634ceca
Merge branch 'build-rm-Versions.make' of github.com:inkydragon/julia …
inkydragon Jun 18, 2022
fd42fe3
Update OPENBLAS_VER to 0.3.20
ViralBShah Jun 19, 2022
2b47176
Merge branch 'master' into build-rm-Versions.make
inkydragon Jun 20, 2022
3e4ffb0
deps: merge patches for `Versions.make`
inkydragon Jun 20, 2022
5051246
Update stdlib/all_jlls.version
inkydragon Jun 20, 2022
9e15c30
deps/mpfr: add comments for version mismatch
inkydragon Jun 20, 2022
212eab6
Update deps/objconv.version
inkydragon Jun 21, 2022
6d01064
Update stdlib/all_jlls.version
inkydragon Jun 21, 2022
9e7b058
deps: add a TODO in `all_jlls.version`
inkydragon Jun 21, 2022
306eb9f
Merge branch 'build-rm-Versions.make' of github.com:inkydragon/julia …
inkydragon Jun 21, 2022
677e476
Merge branch 'master' into build-rm-Versions.make
inkydragon Jun 21, 2022
44a22d2
Merge branch 'master' into build-rm-Versions.make
inkydragon Jun 22, 2022
fd69fab
deps: apply patches from `deps/Versions.make`
inkydragon Jun 22, 2022
fd1b4d0
Merge branch 'master' into build-rm-Versions.make
inkydragon Jun 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion base/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
SRCDIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
BUILDDIR := .
JULIAHOME := $(abspath $(SRCDIR)/..)
include $(JULIAHOME)/deps/Versions.make
include $(JULIAHOME)/Make.inc

TAGGED_RELEASE_BANNER := ""
Expand Down
1 change: 0 additions & 1 deletion cli/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
SRCDIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
JULIAHOME := $(abspath $(SRCDIR)/..)
BUILDDIR ?= .
include $(JULIAHOME)/deps/Versions.make
include $(JULIAHOME)/Make.inc
include $(JULIAHOME)/deps/llvm-ver.make

Expand Down
1 change: 0 additions & 1 deletion deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ BUILDDIR := scratch
else
BUILDDIR := .
endif
include $(SRCDIR)/Versions.make
include $(JULIAHOME)/Make.inc
include $(SRCDIR)/tools/common.mk
include $(SRCDIR)/tools/git-external.mk
Expand Down
121 changes: 0 additions & 121 deletions deps/Versions.make

This file was deleted.

5 changes: 5 additions & 0 deletions deps/blastrampoline.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
## jll artifact
BLASTRAMPOLINE_JLL_NAME := libblastrampoline

## source build
BLASTRAMPOLINE_VER := 5.1.1
BLASTRAMPOLINE_BRANCH=v5.1.1
BLASTRAMPOLINE_SHA1=bac2f810d523003fbb431ecc6e9ea81c8b86e2d6
4 changes: 4 additions & 0 deletions deps/clang.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## jll artifact
# Clang (paired with LLVM, only here as a JLL download)
CLANG_JLL_NAME := Clang
CLANG_JLL_VER := 14.0.2+1
2 changes: 2 additions & 0 deletions deps/csl.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## jll artifact
CSL_JLL_NAME := CompilerSupportLibraries
1 change: 1 addition & 0 deletions deps/curl.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## CURL ##
include $(SRCDIR)/curl.version

ifeq ($(USE_SYSTEM_LIBSSH2), 0)
$(BUILDDIR)/curl-$(CURL_VER)/build-configured: | $(build_prefix)/manifest/libssh2
Expand Down
5 changes: 5 additions & 0 deletions deps/curl.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
CURL_JLL_NAME := LibCURL

## source build
CURL_VER := 7.83.1
1 change: 1 addition & 0 deletions deps/dsfmt.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## DSFMT ##
include $(SRCDIR)/dsfmt.version

ifneq ($(USE_BINARYBUILDER_DSFMT),1)

Expand Down
5 changes: 5 additions & 0 deletions deps/dsfmt.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
DSFMT_JLL_NAME := dSFMT

## source build
DSFMT_VER := 2.2.4
1 change: 1 addition & 0 deletions deps/gmp.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## GMP ##
include $(SRCDIR)/gmp.version

ifeq ($(SANITIZE),1)
GMP_CONFIGURE_OPTS += --disable-assembly
Expand Down
5 changes: 5 additions & 0 deletions deps/gmp.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
GMP_JLL_NAME := GMP

## source build
GMP_VER := 6.2.1
10 changes: 10 additions & 0 deletions deps/libgit2.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
## jll artifact
LIBGIT2_JLL_NAME := LibGit2

## source build
LIBGIT2_BRANCH=v1.4.3
LIBGIT2_SHA1=465bbf88ea939a965fbcbade72870c61f815e457

## 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
Comment on lines +8 to +12
Copy link
Contributor

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?

Copy link
Sponsor Member Author

@inkydragon inkydragon Oct 15, 2022

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.

5 changes: 5 additions & 0 deletions deps/libssh2.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
## jll artifact
LIBSSH2_JLL_NAME := LibSSH2

## source build
LIBSSH2_VER := 1.10.2
LIBSSH2_BRANCH=libssh2-1.10.0
Comment on lines +5 to 6
Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

Version mismatch, ref: #43250

Copy link
Member

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?

Copy link
Member

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.

LIBSSH2_SHA1=635caa90787220ac3773c1d5ba11f1236c22eae8
1 change: 1 addition & 0 deletions deps/libsuitesparse.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## LIBSUITESPARSE ##
include $(SRCDIR)/libsuitesparse.version

ifeq ($(USE_BLAS64), 1)
UMFPACK_CONFIG := -DLONGBLAS='long long'
Expand Down
5 changes: 5 additions & 0 deletions deps/libsuitesparse.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
LIBSUITESPARSE_JLL_NAME := SuiteSparse

## source build
LIBSUITESPARSE_VER := 5.10.1
5 changes: 5 additions & 0 deletions deps/libuv.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
## jll artifact
LIBUV_JLL_NAME := LibUV

## source build
LIBUV_VER := 2
LIBUV_BRANCH=julia-uv2-1.44.1
LIBUV_SHA1=1b2d16477fe1142adea952168d828a066e03ee4c
3 changes: 3 additions & 0 deletions deps/lld.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## jll artifact
LLD_JLL_NAME := LLD
LLD_JLL_VER := 14.0.2+1
5 changes: 5 additions & 0 deletions deps/llvm-tools.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
# LLVM_tools (downloads LLVM_jll to get things like `lit` and `opt`)
LLVM_TOOLS_JLL_NAME := LLVM
LLVM_TOOLS_JLL_VER := 14.0.2+1
LLVM_TOOLS_ASSERT_JLL_VER := 14.0.2+1
1 change: 1 addition & 0 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## LLVM ##
include $(SRCDIR)/llvm.version
include $(SRCDIR)/llvm-ver.make
include $(SRCDIR)/llvm-options.mk

Expand Down
6 changes: 6 additions & 0 deletions deps/llvm.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## jll artifact
LLVM_JLL_NAME := libLLVM
LLVM_ASSERT_JLL_VER := 14.0.2+1

## source build
LLVM_VER := 14.0.2
LLVM_BRANCH=julia-14.0.2-1
LLVM_SHA1=julia-14.0.2-1
5 changes: 5 additions & 0 deletions deps/llvmunwind.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
LLVMUNWIND_JLL_NAME := LLVMLibUnwind

## source build
LLVMUNWIND_VER := 12.0.1
1 change: 1 addition & 0 deletions deps/mbedtls.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## mbedtls
include $(SRCDIR)/mbedtls.version

ifneq ($(USE_BINARYBUILDER_MBEDTLS), 1)
MBEDTLS_SRC = mbedtls-$(MBEDTLS_VER)
Expand Down
5 changes: 5 additions & 0 deletions deps/mbedtls.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
MBEDTLS_JLL_NAME := MbedTLS

## source build
MBEDTLS_VER := 2.28.0
1 change: 1 addition & 0 deletions deps/mpfr.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## MPFR ##
include $(SRCDIR)/mpfr.version

ifeq ($(USE_SYSTEM_GMP), 0)
$(BUILDDIR)/mpfr-$(MPFR_VER)/build-configured: | $(build_prefix)/manifest/gmp
Expand Down
9 changes: 9 additions & 0 deletions deps/mpfr.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## jll artifact
MPFR_JLL_NAME := MPFR

## source build
MPFR_VER := 4.1.0
inkydragon marked this conversation as resolved.
Show resolved Hide resolved

# Note: jll use a different version `4.1.1+1` ("stdlib/MPFR_jll/Project.toml")
# See notes in build_tarballs.jl
# https://github.com/JuliaPackaging/Yggdrasil/blob/3c877e18dd9bb9b2e79415e00f661a7e37b2aea9/M/MPFR/build_tarballs.jl#L40-L42
1 change: 1 addition & 0 deletions deps/nghttp2.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## nghttp2
include $(SRCDIR)/nghttp2.version

ifneq ($(USE_BINARYBUILDER_NGHTTP2), 1)

Expand Down
5 changes: 5 additions & 0 deletions deps/nghttp2.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
NGHTTP2_JLL_NAME := nghttp2

## source build
NGHTTP2_VER := 1.47.0
1 change: 1 addition & 0 deletions deps/objconv.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## objconv ##
include $(SRCDIR)/objconv.version

ifneq ($(USE_BINARYBUILDER_OBJCONV),1)

Expand Down
7 changes: 7 additions & 0 deletions deps/objconv.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## jll artifact
# Objconv (we don't ship this, so no need for a fake JLL; therefore we specify the JLL_VER here instead of in a `stdlib/Objconv_jll/Project.toml` file)
OBJCONV_JLL_NAME := Objconv
OBJCONV_JLL_VER := 2.49.1+0

## source build
OBJCONV_VER := 2.49.1
8 changes: 8 additions & 0 deletions deps/openblas.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
## jll artifact
OPENBLAS_JLL_NAME := OpenBLAS

## source build
OPENBLAS_VER := 0.3.20
OPENBLAS_BRANCH=v0.3.20
OPENBLAS_SHA1=0b678b19dc03f2a999d6e038814c4c50b9640a4e

# LAPACK, source-only
LAPACK_VER := 3.9.0
5 changes: 5 additions & 0 deletions deps/openlibm.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
## jll artifact
OPENLIBM_JLL_NAME := OpenLibm

## source build
OPENLIBM_VER := 0.8.1
OPENLIBM_BRANCH=v0.8.1
OPENLIBM_SHA1=ae2d91698508701c83cab83714d42a1146dccf85
1 change: 1 addition & 0 deletions deps/p7zip.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## p7zip ##
include $(SRCDIR)/p7zip.version

ifneq ($(USE_BINARYBUILDER_P7ZIP),1)

Expand Down
5 changes: 5 additions & 0 deletions deps/p7zip.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
P7ZIP_JLL_NAME := p7zip

## source build
P7ZIP_VER := 17.04
1 change: 1 addition & 0 deletions deps/patchelf.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## patchelf ##
include $(SRCDIR)/patchelf.version

$(SRCCACHE)/patchelf-$(PATCHELF_VER).tar.bz2: | $(SRCCACHE)
$(JLDOWNLOAD) $@ https://github.com/NixOS/patchelf/releases/download/$(PATCHELF_VER)/patchelf-$(PATCHELF_VER).tar.bz2
Expand Down
3 changes: 3 additions & 0 deletions deps/patchelf.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## source build
# Patchelf (we don't ship this or even use a JLL, we just always build it)
PATCHELF_VER := 0.13
1 change: 1 addition & 0 deletions deps/pcre.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## PCRE ##
include $(SRCDIR)/pcre.version

ifneq ($(USE_BINARYBUILDER_PCRE),1)
# Force optimization for PCRE flags (Issue #11668)
Expand Down
5 changes: 5 additions & 0 deletions deps/pcre.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## jll artifact
PCRE_JLL_NAME := PCRE2

## source build
PCRE_VER := 10.40
1 change: 1 addition & 0 deletions deps/tools/bb-install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# 4 cxx11) # signifies a cxx11 ABI dependency

define bb-install
include $$(SRCDIR)/$1.version
TRIPLET_VAR := BB_TRIPLET
ifeq ($(3),true)
TRIPLET_VAR := $$(TRIPLET_VAR)_LIBGFORTRAN
Expand Down
2 changes: 2 additions & 0 deletions deps/unwind.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## UNWIND ##
include $(SRCDIR)/unwind.version
inkydragon marked this conversation as resolved.
Show resolved Hide resolved
include $(SRCDIR)/llvmunwind.version

ifneq ($(USE_BINARYBUILDER_LIBUNWIND),1)
LIBUNWIND_CFLAGS := -U_FORTIFY_SOURCE $(fPIC) -lz
Expand Down
6 changes: 6 additions & 0 deletions deps/unwind.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## jll artifact
UNWIND_JLL_NAME := LibUnwind

## source build
UNWIND_VER_TAG := 1.5
UNWIND_VER := 1.5.0
Loading