nixpkgs/pkgs/development/libraries/science/math
Jan Tojnar b552b84ae2
suitesparse: ultimate clean-up
* Switch to default buildPhase & installPhase
* In preConfigure
	* Do not add -DNPARTITION to CHOLMOD_CONFIG. That would disable the use of Metis but we already have that.
	* Do not remove -lrt on Darwin, Darwin compiler can handle that and the code no longer exists anyway.
	* With CUDA enabled
		* Do not replace CUDA_ROOT. It does not exist any more. Instead we are setting CUDA_PATH in makeFlags.
		* Do not replace GPU_BLAS_PATH, it defaults to CUDA_PATH so it will end up with the same value.
		* Do not add -DCHOLMOD_OMP_NUM_THREADS to GPU_CONFIG. Why would be having the library use the same number of threads as the builder a good idea?
		* Do not replace CUDA_PATH, we are setting it in makeFlags now.
		* Do not replace CUDART_LIB and CUBLAS_LIB. They were being replaced incorrectly (cuda libs are located in lib directory, not lib64). Instead set the correct paths in makeFlags.
		* Do not replace CUDA_INC_PATH. Its default looks like it will end up with the same value.
		* Do not replace NV20, NV30, NV35 – not used any more.
		* Do not replace NVCC, defaults to the same.
		* Do not replace NVCCFLAGS, we just used the default from SourceSparse 4.4.7 with -gencode=arch=compute_60,code=compute_60 tacked on top. Current upstream default looks much better.
* Stop adding -DNTIMER to CFLAGS on Darwin – clock_gettime is supported by macOS 10.12 SDK.
* In buildPhase
	* Move the make arguments to makeFlags and library to buildFlags, allowing us to drop the manual make call. I did not verify all of these are still needed.
	* Remove the creation of libsuitesparse.so. As far as I could tell it is some kind of remnant of our old expression – perhaps due to past deficiencies of the build scripts, we created the individual libraries as symlinks to libsuitesparse.so: e36b3ec0a5 But since the build script can now build individual .so libraries, there should be no need for this abomination. No other distros do this either.
* In installPhase
	* No need to copy things manually, there is an install target. We just need to pass INSTALL=$out flag to make to let it know where to install the files.
	* I do not have means of verifying the darwin dylib name fix but it looks like it might be fixed in an upcoming release.
	* I dropped the rpath fixup as it does not seem to be needed any more (ldd does not report any unresolved libraries).
2020-03-11 03:45:25 +01:00
..
arpack treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH 2020-01-15 09:47:03 +01:00
blas
brial brial: 1.2.6 -> 1.2.7 2020-01-26 02:39:07 +00:00
caffe2
cholmod-extra
clblas
cliquer
clmagma
cudnn cudnn_cudatoolkit_10_2: init at 7.6.5 2020-03-05 15:14:10 -05:00
ecos ecos: 2.0.6 -> 2.0.7 2020-02-16 19:12:52 -08:00
fenics
flintqs
ipopt
lcalc
libbraiding
libhomfly
liblapack
liblbfgs
lrs
m4ri m4ri: 20200115 -> 20200125 2020-02-08 16:16:48 +00:00
m4rie m4rie: 20150908 -> 20200115 2020-01-21 23:24:43 +00:00
magma
metis
mkl
mongoose mongoose: init at 2.0.4 2020-03-10 20:35:44 +01:00
nccl
openblas openblas: 0.3.7 -> 0.3.8 2020-02-11 12:01:57 +00:00
openlibm
openspecfun
or-tools or-tools: 7.3 -> 7.5 2020-02-10 20:40:12 +01:00
osi osi: 0.108.4 -> 0.108.6 2020-03-06 07:22:33 +01:00
parmetis
petsc
planarity
primesieve primesieve: 7.4 -> 7.5 2020-01-07 00:22:48 -08:00
QuadProgpp
rankwidth
rubiks
scalapack scalapack: 2.1 -> 2.1.0 2020-02-17 18:31:13 -05:00
scs libraries.science.math.scs: 2.0.2 -> 2.1.1 2020-01-31 16:05:05 -05:00
spooles
suitesparse suitesparse: ultimate clean-up 2020-03-11 03:45:25 +01:00
suitesparse-graphblas suitesparse-graphblas: init at 3.1.2 2020-03-10 21:16:27 +01:00
superlu
sympow
tensorflow
zn_poly