SHA256
1
0
forked from pool/julia
julia/julia-suitesparse-7.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

41 lines
1.8 KiB
Diff

--- a/src/solvers/cholmod.jl.orig 2022-11-11 07:24:15.860939080 +0000
+++ b/src/solvers/cholmod.jl 2022-11-11 07:24:39.462357069 +0000
@@ -194,21 +194,6 @@
from www.julialang.org, which ship with the correct
versions of all dependencies.
"""
- elseif BUILD_VERSION.major != current_version.major
- @warn """
- CHOLMOD version incompatibility
-
- Julia was compiled with CHOLMOD version $BUILD_VERSION. It is
- currently linked with version $current_version.
- This might cause Julia to terminate when working with
- sparse matrix factorizations, e.g. solving systems of
- equations with \\.
-
- It is recommended that you use Julia with the same major
- version of CHOLMOD as the one used during the build, or
- download the generic binaries from www.julialang.org,
- which ship with the correct versions of all dependencies.
- """
end
intsize = sizeof(SuiteSparse_long)
@@ -232,15 +232,6 @@ function __init__()
"""
end
- # Register gc tracked allocator if CHOLMOD is new enough
- if current_version >= v"3.0.0"
- cnfg = cglobal((:SuiteSparse_config, :libsuitesparseconfig), Ptr{Cvoid})
- unsafe_store!(cnfg, cglobal(:jl_malloc, Ptr{Cvoid}), 1)
- unsafe_store!(cnfg, cglobal(:jl_calloc, Ptr{Cvoid}), 2)
- unsafe_store!(cnfg, cglobal(:jl_realloc, Ptr{Cvoid}), 3)
- unsafe_store!(cnfg, cglobal(:jl_free, Ptr{Cvoid}), 4)
- end
-
catch ex
@error "Error during initialization of module CHOLMOD" exception=ex,catch_backtrace()
end