nixpkgs/pkgs/development
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
..
androidndk-pkgs
arduino teensyduino: add missing dependencies for teensy-loader 2020-03-07 06:15:02 +01:00
beam-modules
bower-modules/generic
chez-modules
compilers Merge pull request #81820 from r-ryantm/auto-update/mercury 2020-03-10 07:14:07 -05:00
coq-modules coqPackages.dpdgraph: enable for Coq ≥ 8.9 2020-03-10 17:46:15 +01:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules
go-packages
guile-modules
haskell-modules haskell-ci: fix the build 2020-03-06 22:15:14 +01:00
idris-modules
interpreters Merge staging-next into staging 2020-03-06 07:09:30 +01:00
java-modules
libraries suitesparse: ultimate clean-up 2020-03-11 03:45:25 +01:00
lisp-modules
lua-modules Merge pull request #81067 from teto/lua_fix 2020-02-27 11:01:30 +01:00
misc newlib: 3.1.0 -> 3.3.0 2020-03-06 23:03:33 +00:00
mobile titaniumenv: add Titanium SDK 8.3 2020-03-01 20:23:39 +01:00
node-packages joplin: clean up dependencies 2020-03-04 01:35:17 +01:00
ocaml-modules ppx_deriving_yojson: 3.5.1 -> 3.5.2 (#82085) 2020-03-10 17:11:49 +01:00
perl-modules
pharo
pure-modules
python-modules suitesparse: clean up 2020-03-10 20:35:44 +01:00
r-modules rPackages.ggbio: patch away spelling mistake 2020-02-26 09:45:23 +01:00
ruby-modules Revert "defaultGemConfig: remove asciidoctor-diagram JARs" (#81737) 2020-03-04 18:04:36 +00:00
tools Fix missing default-policy.json in skopeo 2020-03-10 14:33:25 +00:00
web nodejs-13_x: 13.10.0 -> 13.10.1 2020-03-04 20:45:00 -05:00