Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-16.03 25 lines 954 B view raw
1From e2b0ed6664fe4adfd0f9ce8fa14732d47b30ab5c Mon Sep 17 00:00:00 2001 2From: Thomas Tuegel <ttuegel@gmail.com> 3Date: Sat, 10 Oct 2015 16:18:53 -0500 4Subject: [PATCH 2/3] use system suitesparse 5 6--- 7 base/sparse/cholmod.jl | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10diff --git a/base/sparse/cholmod.jl b/base/sparse/cholmod.jl 11index ec7e980..f834cc1 100644 12--- a/base/sparse/cholmod.jl 13+++ b/base/sparse/cholmod.jl 14@@ -151,7 +151,7 @@ function __init__() 15 16 # Register gc tracked allocator if CHOLMOD is new enough 17 if current_version >= v"3.0.0" 18- cnfg = cglobal((:SuiteSparse_config, :libsuitesparseconfig), Ptr{Void}) 19+ cnfg = cglobal((:SuiteSparse_config, :libsuitesparse), Ptr{Void}) 20 unsafe_store!(cnfg, cglobal(:jl_malloc, Ptr{Void}), 1) 21 unsafe_store!(cnfg, cglobal(:jl_calloc, Ptr{Void}), 2) 22 unsafe_store!(cnfg, cglobal(:jl_realloc, Ptr{Void}), 3) 23-- 242.5.2 25