SHA256
1
0
forked from pool/julia
julia/llvm-link-shared.patch
Soc Virnyl Estela e15cadffe0 Accepting request 1132207 from home:uncomfyhalomacro:branches:science
- Remove debug package. It's not created. Still we won't strip
  debug symbols from julia as it will cause issues.
- Declare that it conflicts with juliaup.
- Update tagged release banner message that says it is an unofficial experimental build
- Add mbedtls-hardcoded-libs.patch
- Update description
- Add llvm-link-shared.patch
- Add openlibm.patch
- Add libblastrampoline-hardcoded-libs.patch 
- Add use-system-libuv-correctly.patch
- Use sed to replace julia-hardcoded-libs.patch
- Add patch julia-suitesparse-7.patch
- Update julia-env-script-interpreter.patch
- Add new patches
  * 21d4c2f1.patch
  * 959902f1.patch
  * e08e1444.patch
  * f11bfc6c.patch
  * julia-hardcoded-libs.patch
  * julia-libgit2-1.7.patch
  * julia-libunwind-1.9.patch
- Update to julia version 1.9.4
  ** CHANGELOG TOO HUGE SINCE 1.6.3 **
  See https://github.com/JuliaLang/julia/compare/v1.6.3...v1.9.4
- Remove a lot of old patches
  * julia-fix_doc_build.patch
  * julia-fix-mbedtls-build-failure-gcc-11.patch
  * julia-fix-task-build-failure-gcc-11.patch

OBS-URL: https://build.opensuse.org/request/show/1132207
OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=114
2023-12-09 08:02:57 +00:00

22 lines
1.0 KiB
Diff

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
@@ -125,7 +125,7 @@
# USE_SYSTEM_LLVM == 0
ifneq ($(USE_LLVM_SHLIB),1)
# USE_LLVM_SHLIB != 1
-CG_LLVMLINK += $(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --libs $(CG_LLVM_LIBS) --link-static) $($(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --system-libs 2> /dev/null)
+CG_LLVMLINK += $(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --libs $(CG_LLVM_LIBS) --link-shared) $($(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --system-libs 2> /dev/null)
else
# USE_LLVM_SHLIB == 1
ifeq ($(OS), Darwin)
@@ -141,7 +141,7 @@
endif # USE_LLVM_SHLIB == 1
endif # JULIACODEGEN == LLVM
-RT_LLVM_LINK_ARGS := $(shell $(LLVM_CONFIG_HOST) --libs $(RT_LLVM_LIBS) --system-libs --link-static)
+RT_LLVM_LINK_ARGS := $(shell $(LLVM_CONFIG_HOST) --libs $(RT_LLVM_LIBS) --system-libs --link-shared)
RT_LLVMLINK += $(LLVM_LDFLAGS) $(RT_LLVM_LINK_ARGS)
ifeq ($(OS), WINNT)
RT_LLVMLINK += -luuid -lole32