From 916acc0f00dd2d8c58e2efe696cd6170a60b0228f45f91e0f8869f284e269722 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 9 Dec 2023 08:46:17 +0000 Subject: [PATCH] - Rename/add more description of the following patches. * libblastrampoline-hardcoded-libs.patch * llvm-link-shared.patch * llvm-set-of-custom-patches.patch * mbedtls-hardcoded-libs.patch * new-pass-manager.patch * openlibm.patch * support-float16-depending-on-llvm-and-platform.patch * use-newpm-asan.patch * use-system-libuv-correctly.patch - Renamed/removed patches * 21d4c2f1.patch * 959902f1.patch * e08e1444.patch * f11bfc6c.patch OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=115 --- julia.changes | 19 +++++++++++++++++++ julia.spec | 8 ++++---- libblastrampoline-hardcoded-libs.patch | 6 ++++++ llvm-link-shared.patch | 8 ++++++++ ....patch => llvm-set-of-custom-patches.patch | 0 mbedtls-hardcoded-libs.patch | 6 ++++++ e08e1444.patch => new-pass-manager.patch | 0 openlibm.patch | 7 +++++++ ...oat16-depending-on-llvm-and-platform.patch | 0 f11bfc6c.patch => use-newpm-asan.patch | 0 use-system-libuv-correctly.patch | 7 +++++++ 11 files changed, 57 insertions(+), 4 deletions(-) rename 21d4c2f1.patch => llvm-set-of-custom-patches.patch (100%) rename e08e1444.patch => new-pass-manager.patch (100%) rename 959902f1.patch => support-float16-depending-on-llvm-and-platform.patch (100%) rename f11bfc6c.patch => use-newpm-asan.patch (100%) diff --git a/julia.changes b/julia.changes index f1c6be2..ef78558 100644 --- a/julia.changes +++ b/julia.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat Dec 9 08:40:51 UTC 2023 - Soc Virnyl Estela + +- Rename/add more description of the following patches. + * libblastrampoline-hardcoded-libs.patch + * llvm-link-shared.patch + * llvm-set-of-custom-patches.patch + * mbedtls-hardcoded-libs.patch + * new-pass-manager.patch + * openlibm.patch + * support-float16-depending-on-llvm-and-platform.patch + * use-newpm-asan.patch + * use-system-libuv-correctly.patch +- Renamed/removed patches + * 21d4c2f1.patch + * 959902f1.patch + * e08e1444.patch + * f11bfc6c.patch + ------------------------------------------------------------------- Sat Dec 9 06:23:13 UTC 2023 - Soc Virnyl Estela diff --git a/julia.spec b/julia.spec index a173105..3c35270 100644 --- a/julia.spec +++ b/julia.spec @@ -41,10 +41,10 @@ Source0: https://github.com/JuliaLang/julia/releases/download/v%{version} Source1: julia-rpmlintrc # PATCH-FIX-OPENSUSE julia-env-script-interpreter.patch ronisbr@gmail.com -- Change script interpreted to avoid errors in rpmlint. Patch1: julia-env-script-interpreter.patch -Patch2: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/e08e1444.patch?ref_type=heads#/e08e1444.patch -Patch3: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/959902f1.patch?ref_type=heads#/959902f1.patch -Patch4: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/f11bfc6c.patch?ref_type=heads#/f11bfc6c.patch -Patch5: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/21d4c2f1.patch?ref_type=heads#/21d4c2f1.patch +Patch2: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/e08e1444.patch?ref_type=heads#/new-pass-manager.patch +Patch3: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/959902f1.patch?ref_type=heads#/support-float16-depending-on-llvm-and-platform.patch +Patch4: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/f11bfc6c.patch?ref_type=heads#/use-newpm-asan.patch +Patch5: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/21d4c2f1.patch?ref_type=heads#/llvm-set-of-custom-patches.patch Patch6: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/julia-libunwind-1.6.patch?ref_type=heads#/julia-libunwind-1.9.patch Patch8: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/julia-libgit2-1.7.patch?ref_type=heads#/julia-libgit2-1.7.patch Patch9: https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/raw/main/julia-suitesparse-7.patch?ref_type=heads#/julia-suitesparse-7.patch diff --git a/libblastrampoline-hardcoded-libs.patch b/libblastrampoline-hardcoded-libs.patch index 885b43d..110d1d3 100644 --- a/libblastrampoline-hardcoded-libs.patch +++ b/libblastrampoline-hardcoded-libs.patch @@ -1,3 +1,9 @@ +From: Soc Virnyl Estela +Date: Sat, 09 Dec 2023 16:30:31 +0800 +Subject: Change hardcoded libs for libblastrampoline + +--- + diff -ruN julia-1.9.4.orig/stdlib/libblastrampoline_jll/src/libblastrampoline_jll.jl julia-1.9.4/stdlib/libblastrampoline_jll/src/libblastrampoline_jll.jl --- julia-1.9.4.orig/stdlib/libblastrampoline_jll/src/libblastrampoline_jll.jl 2023-12-09 14:21:37.910096392 +0800 +++ julia-1.9.4/stdlib/libblastrampoline_jll/src/libblastrampoline_jll.jl 2023-12-09 14:21:58.006998468 +0800 diff --git a/llvm-link-shared.patch b/llvm-link-shared.patch index 0acd683..6c14c9c 100644 --- a/llvm-link-shared.patch +++ b/llvm-link-shared.patch @@ -1,3 +1,11 @@ +From: Soc Virnyl Estela +Date: Sat, 09 Dec 2023 16:30:31 +0800 +Subject: Change --link-static to --link-shared + +If we don't change it to shared, it will fail to link it +since openSUSE's llvm does not have static libraries. +--- + diff -ruN julia-1.9.4.orig/src/Makefile julia/src/Makefile --- julia-1.9.4.orig/src/Makefile 2023-12-08 06:25:53.604185583 +0800 +++ julia/src/Makefile 2023-12-08 13:19:45.202318921 +0800 diff --git a/21d4c2f1.patch b/llvm-set-of-custom-patches.patch similarity index 100% rename from 21d4c2f1.patch rename to llvm-set-of-custom-patches.patch diff --git a/mbedtls-hardcoded-libs.patch b/mbedtls-hardcoded-libs.patch index 489dd0c..c270c2f 100644 --- a/mbedtls-hardcoded-libs.patch +++ b/mbedtls-hardcoded-libs.patch @@ -1,3 +1,9 @@ +From: Soc Virnyl Estela +Date: Sat, 09 Dec 2023 16:30:31 +0800 +Subject: Modify hardcoded libs for mbedtls + +--- + diff -ruN julia-1.9.4.orig/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl julia/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl --- julia-1.9.4.orig/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl 2023-12-08 17:54:46.804532060 +0800 +++ julia/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl 2023-12-09 07:41:38.758431369 +0800 diff --git a/e08e1444.patch b/new-pass-manager.patch similarity index 100% rename from e08e1444.patch rename to new-pass-manager.patch diff --git a/openlibm.patch b/openlibm.patch index f657c73..133f3a8 100644 --- a/openlibm.patch +++ b/openlibm.patch @@ -1,3 +1,10 @@ +From: Soc Virnyl Estela +Date: Sat, 09 Dec 2023 16:30:31 +0800 +Subject: Explicity declaration of openlibm library location + +Openlibm is located at /usr/lib. +--- + diff -ruN julia-1.9.4.orig/Make.inc julia/Make.inc --- julia-1.9.4.orig/Make.inc 2023-12-08 06:25:53.640851723 +0800 +++ julia/Make.inc 2023-12-08 12:47:48.403970277 +0800 diff --git a/959902f1.patch b/support-float16-depending-on-llvm-and-platform.patch similarity index 100% rename from 959902f1.patch rename to support-float16-depending-on-llvm-and-platform.patch diff --git a/f11bfc6c.patch b/use-newpm-asan.patch similarity index 100% rename from f11bfc6c.patch rename to use-newpm-asan.patch diff --git a/use-system-libuv-correctly.patch b/use-system-libuv-correctly.patch index d184af7..25a9fad 100644 --- a/use-system-libuv-correctly.patch +++ b/use-system-libuv-correctly.patch @@ -1,3 +1,10 @@ +From: Soc Virnyl Estela +Date: Sat, 09 Dec 2023 16:30:31 +0800 +Subject: Julia uses a static variant of its libuv + +Although this patch exists as a sample. This won't be used. +--- + diff -ruN julia-1.9.4.orig/Make.inc julia-1.9.4/Make.inc --- julia-1.9.4.orig/Make.inc 2023-12-08 06:25:53.640851723 +0800 +++ julia-1.9.4/Make.inc 2023-12-08 10:44:21.177558348 +0800