Commit Graph

725 Commits

Author SHA1 Message Date
Jonathan Ringer
c1e605dd6b openblas: also export unversioned libraries for linux 2020-05-08 06:52:02 +02:00
Mario Rodas
a340a9f4d8
Merge pull request #86755 from andersk/abseil-ortools
abseil-cpp: 20191119 -> 20200225.2; or-tools: 7.5 -> 7.6
2020-05-07 06:53:54 -05:00
Ben Darwin
5caa76705b elastix: update for ITK 5.1.0
- fetch patches to build elastix 5.0 with ITK 5.1
- update 'platforms': builds on Darwin, fails on aarch64
2020-05-05 00:08:04 -04:00
R. RyanTM
7a17b13b48 or-tools: 7.5 -> 7.6 2020-05-04 03:12:00 -07:00
Frederik Rietdijk
00bbfccecf Merge staging into staging-next 2020-05-01 09:28:45 +02:00
R. RyanTM
51b1533b37 suitesparse-graphblas: 3.2.1 -> 3.2.2 2020-05-01 09:06:34 +02:00
Markus Kowalewski
15cd0bd993 openblas: 0.3.8 -> 0.3.9 2020-05-01 09:02:51 +02:00
Benjamin Hipple
21be830522
Merge pull request #85799 from matthewbauer/blas-lapack-expand-docs
BLAS/LAPACK fixup and expand docs
2020-04-22 21:56:20 -04:00
Matthew Bauer
5a500ff0ba blas,lapack: use correct name for library
To match the soname, we need to use libblas.so.3, liblapack.so.3.
2020-04-22 12:37:04 -05:00
Frederik Rietdijk
ec21df329a
Merge pull request #85636 from matthewbauer/blas-lapack-fix-fallout-from-83888
BLAS/LAPACK fix fallout from #83888
2020-04-21 19:59:16 +02:00
Ben Darwin
fe07e2b2ac elastix: enable tests 2020-04-21 07:54:59 +02:00
Ben Darwin
30cafee8b6 elastix: python -> python3 2020-04-21 07:54:59 +02:00
Matthew Bauer
a6a502fca0 magma: remove mklSupport flag
This now relies on the "blas" and "lapack" packages.
2020-04-20 16:02:57 -05:00
Matthew Bauer
ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer
fcf33e2499 scs: breaks on 64bit blas 2020-04-17 16:24:31 -05:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Matthew Bauer
43873351ff blas/lapack: add wrapper for “alternative”s of BLAS/LAPACK provider
This is based on previous work for switching between BLAS and LAPACK
implementation in Debian[1] and Gentoo[2]. The goal is to have one way
to depend on the BLAS/LAPACK libraries that all packages must use. The
attrs “blas” and “lapack” are used to represent a wrapped BLAS/LAPACK
provider. Derivations that don’t care how BLAS and LAPACK are
implemented can just use blas and lapack directly. If you do care what
you get (perhaps for some CPP), you should verify that blas and lapack
match what you expect with an assertion.

The “blas” package collides with the old “blas” reference
implementation. This has been renamed to “blas-reference”. In
addition, “lapack-reference” is also included, corresponding to
“liblapack” from Netlib.org.

Currently, there are 3 providers of the BLAS and LAPACK interfaces:

- lapack-reference: the BLAS/LAPACK implementation maintained by netlib.org
- OpenBLAS: an optimized version of BLAS and LAPACK
- MKL: Intel’s unfree but highly optimized BLAS/LAPACK implementation

By default, the above implementations all use the “LP64” BLAS and
LAPACK ABI. This corresponds to “openblasCompat” and is the safest way
to use BLAS/LAPACK. You may received some benefits from “ILP64” or
8-byte integer BLAS at the expense of breaking compatibility with some
packages.

This can be switched at build time with an override like:

    import <nixpkgs> {
        config.allowUnfree = true;
        overlays = [(self: super: {
          lapack = super.lapack.override {
            lapackProvider = super.lapack-reference;
          };
          blas = super.blas.override {
            blasProvider = super.lapack-reference;
          };
        })];
      }

or, switched at runtime via LD_LIBRARY_PATH like:

    $ LD_LIBRARY_PATH=$(nix-build -E '(with import <nixpkgs> {}).lapack.override { lapackProvider = pkgs.mkl; is64bit = true; })')/lib:$(nix-build -E '(with import <nixpkgs> {}).blas.override { blasProvider = pkgs.mkl; is64bit = true; })')/lib ./your-blas-linked-binary

By default, we use OpenBLAS LP64 also known in Nixpkgs as
openblasCompat.

[1]: https://wiki.debian.org/DebianScience/LinearAlgebraLibraries
[2]: https://wiki.gentoo.org/wiki/Blas-lapack-switch
2020-04-17 16:23:55 -05:00
Matthew Bauer
90326ba624 lapack: enable shared libraries, cblas, and tests 2020-04-17 16:17:12 -05:00
R. RyanTM
1450740470 suitesparse: 5.7.1 -> 5.7.2 2020-04-10 11:55:20 -07:00
Benjamin Hipple
a1f6400fd5
Merge pull request #84451 from robertodr/update-mkl
mkl: 2020.0.166 -> 2020.1.217 (Linux only)
2020-04-10 13:54:49 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Mario Rodas
2f41064d86
Merge pull request #84455 from r-ryantm/auto-update/petsc
petsc: 3.12.4 -> 3.13.0
2020-04-08 21:35:27 -05:00
Niklas Hambüchen
df907c4786 openblas: Add singleThreaded option. Off by default.
See https://github.com/xianyi/OpenBLAS/issues/2543
2020-04-08 13:46:04 +02:00
Mario Rodas
ad15e4e8a0
petsc: fix build on darwin 2020-04-06 12:00:00 +00:00
R. RyanTM
758e81662f petsc: 3.12.4 -> 3.13.0 2020-04-06 11:46:40 +00:00
Roberto Di Remigio
488527eaa6
mkl: 2020.0.166 -> 2020.1.217 2020-04-06 11:57:22 +02:00
Roberto Di Remigio
335e097352
mkl: 2019.5.281 -> 2020.0.166 (Linux only) 2020-03-27 08:45:20 +01:00
Jan Tojnar
d951c534da
Merge pull request #82274 from jtojnar/suitesparese-5.6
suitesparse: 5.4.0 → 5.7.1 + clean up
2020-03-22 06:58:25 +01:00
Josef Kemetmüller
fbb273c5fe fenics: 2017.1.0 -> 2019.1.0
Fixes: NixOS/nixpkgs#75886
2020-03-19 21:48:27 -07:00
Timo Kaufmann
d8d0b60c22
Merge pull request #82766 from r-ryantm/auto-update/brial
brial: 1.2.7 -> 1.2.8
2020-03-17 14:29:02 +00:00
R. RyanTM
707e0b1e96 brial: 1.2.7 -> 1.2.8 2020-03-17 01:13:50 +00:00
Tom Hall
c6c753668d openblas: disable optimisation pending fix
See https://github.com/xianyi/OpenBLAS/issues/2496
2020-03-14 18:06:59 +00:00
wucke13
4f58c15ee6 petsc: 3.8.4 -> 3.12.4
+ add cxx flag to configure, because getdp needs it
2020-03-13 04:10:20 +00:00
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
Jan Tojnar
c16d5b6534
suitesparse: do not build Mongoose & GraphBLAS
We already have package for them
2020-03-11 02:33:06 +01:00
Jan Tojnar
306cf6091f
suitesparse: link against system metis 2020-03-10 21:16:28 +01:00
Jan Tojnar
e9d7774b7b
suitesparse: 5.4.0 → 5.7.1 2020-03-10 21:16:27 +01:00
Jan Tojnar
559f02e208
suitesparse-graphblas: init at 3.1.2 2020-03-10 21:16:27 +01:00
Jan Tojnar
b4e6293a8d
mongoose: init at 2.0.4 2020-03-10 20:35:44 +01:00
Jan Tojnar
40ae28791f
suitesparse: clean up
* Split to multiple outputs
* Fetch source from GitLab (the only source for future releases)
* Re-order attrset to be more idiomatic
* Format with nixpkgs-fmt
2020-03-10 20:35:44 +01:00
Josef Kemetmüller
1cc9b2501d suitesparse: Enable parallel building 2020-03-10 17:16:17 +01:00
Mario Rodas
99722af1d5
Merge pull request #81843 from OmnipotentEntity/cudnn-7.6.5
cudnn_cudatoolkit_10_2: init at 7.6.5
2020-03-10 07:19:50 -05:00
R. RyanTM
e04fab644f osi: 0.108.4 -> 0.108.6 2020-03-06 07:22:33 +01:00
Michael Reilly
972db874b3 cudnn_cudatoolkit_10_2: init at 7.6.5 2020-03-05 15:14:10 -05:00
Frederik Rietdijk
9d88ee08f6 Merge master into staging-next 2020-02-18 16:09:19 +01:00
Dylan Simon
e25f0b3e3d scalapack: 2.1 -> 2.1.0
2.1 seems to have disappeared
2020-02-17 18:31:13 -05:00
Frederik Rietdijk
ec1184f461 Merge master into staging-next 2020-02-17 15:12:28 +01:00
Drew Risinger
c71f63a337 ecos: 2.0.6 -> 2.0.7
Bump ecos module.
2020-02-16 19:12:52 -08:00
R. RyanTM
6222192872 openblas: 0.3.7 -> 0.3.8 2020-02-11 12:01:57 +00:00
Anders Kaseorg
1a32e383e6 or-tools: 7.3 -> 7.5
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-02-10 20:40:12 +01:00
R. RyanTM
5659946d6a m4ri: 20200115 -> 20200125 2020-02-08 16:16:48 +00:00
Drew Risinger
c13bf84d45 libraries.science.math.scs: 2.0.2 -> 2.1.1 2020-01-31 16:05:05 -05:00
Frederik Rietdijk
dce0ca29d9 Merge master into staging-next 2020-01-28 10:46:13 +01:00
Timo Kaufmann
e39e304638
Merge pull request #78496 from r-ryantm/auto-update/brial
brial: 1.2.6 -> 1.2.7
2020-01-26 23:28:02 +01:00
R. RyanTM
2d172e6403 brial: 1.2.6 -> 1.2.7 2020-01-26 02:39:07 +00:00
Timo Kaufmann
d62e410ccd
Merge pull request #78222 from r-ryantm/auto-update/m4ri
m4ri: 20140914 -> 20200115
2020-01-22 17:43:44 +01:00
R. RyanTM
813678058f m4ri: 20140914 -> 20200115 2020-01-21 23:46:57 +00:00
R. RyanTM
3937313195 m4rie: 20150908 -> 20200115 2020-01-21 23:24:43 +00:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Niklas Hambüchen
de1e61f34d
Merge pull request #77104 from r-ryantm/auto-update/htslib
htslib: 1.9 -> 1.10.2
2020-01-13 01:51:32 +01:00
Mario Rodas
5ab4676d88
Merge pull request #77194 from r-ryantm/auto-update/primesieve
primesieve: 7.4 -> 7.5
2020-01-09 05:02:21 -05:00
R. RyanTM
e28fe589d9 primesieve: 7.4 -> 7.5 2020-01-07 00:22:48 -08:00
R. RyanTM
940d12bf5d htslib: 1.9 -> 1.10.2 2020-01-06 09:16:51 -08:00
Mario Rodas
e11aab8340
Merge pull request #76356 from r-ryantm/auto-update/openlibm
openlibm: 0.6.0 -> 0.7.0
2020-01-06 09:58:54 -05:00
Frederik Rietdijk
17ab5f9d88 Merge master into staging-next 2020-01-06 10:38:20 +01:00
Ryan Mulligan
f8cd096aad
Merge pull request #54967 from volhovm/volhovm/clmagma
clmagma: init at 1.3
2020-01-05 08:18:12 -08:00
Frederik Rietdijk
828f93a326 Merge master into staging-next 2020-01-05 16:00:21 +01:00
markuskowa
1c55261574
Merge pull request #75526 from robertodr/more-mkl
Add GNU threading and Fortran libraries to MKL package
2020-01-04 20:36:43 +01:00
Frederik Rietdijk
867552957f openblas: fix static musl build 2020-01-03 12:50:47 +01:00
Frederik Rietdijk
960c24a996
Merge pull request #75798 from tobim/pkgsStatic/arrow
arrow-cpp: add pkgsStatic support
2020-01-03 10:13:31 +01:00
Frederik Rietdijk
f08e3e38d4 Merge master into staging-next 2020-01-02 21:41:13 +01:00
Tobias Mayer
db5d3cdfe2 openblas: partially fix static build 2019-12-31 15:05:13 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Robin Gloster
5f2b92e3ec
treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
Robin Gloster
2157dcd141
treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Linus Heckemann
2c19725202 mirtk: enable tbb support for multithreading 2019-12-30 01:16:08 +01:00
R. RyanTM
a2a56df6f8 openlibm: 0.6.0 -> 0.7.0 2019-12-23 20:42:29 -08:00
Roberto Di Remigio
153597a320
mkl: filter static libs in installPhase 2019-12-19 10:23:26 +01:00
Roberto Di Remigio
6cc9bbe2fd
mkl: extract static libraries optionally 2019-12-19 10:12:00 +01:00
Roberto Di Remigio
e0605b3174
mkl: add GNU threading and Fortran libraries
Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
2019-12-19 10:12:00 +01:00
Timo Kaufmann
135081a538 brial: 1.2.5 -> 1.2.6
Motivation is mostly https://github.com/BRiAl/BRiAl/pull/37, which is a
pre-requiste for getting the sage tests to pass with python3.
2019-12-13 20:31:31 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00
Dmitry Kalinkin
aa7efea848
Merge pull request #73958 from markuskowa/upd-lapack
liblapack: 3.8.0 -> 3.9.0
2019-11-24 20:06:04 -05:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Markus Kowalewski
7e44c6dee6
liblapack: 3.8.0 -> 3.9.0 2019-11-24 11:47:50 +01:00
Markus Kowalewski
8419bb2a20
scalapack: 2.0.2 -> 2.1 2019-11-20 22:44:33 +01:00
Renaud
5411dbda33
Merge pull request #71710 from bcdarwin/fix-elastix
elastix: 4.9.0 -> 5.0.0 (and mark unbroken)
2019-11-18 23:23:16 +01:00
Ben Darwin
b618730708 elastix: 4.9.0 -> 5.0.0 (and mark unbroken) 2019-11-18 13:29:02 -05:00
markuskowa
7d728faea5
Merge pull request #73227 from markuskowa/fix-mkl
mkl: add scalapack libraries to output
2019-11-18 10:46:33 +01:00
Markus Kowalewski
d817a49faa
mkl: add scalapack libraries to output 2019-11-18 09:05:03 +01:00
Ben Darwin
736860d34b nifticlib and niftseg: change platform from linux to unix since these build on OSX 2019-11-14 21:25:10 -05:00
Andreas Rammhold
1e72fa5158
Merge pull request #68954 from dguibert/dg/cudatoolkit_10_1
cudatoolkit: add 10.1.243
2019-11-06 08:58:30 +01:00
Benjamin Hipple
fa1e275f31 mkl: 2019.3 -> 2019.5 (#71476)
Includes bugfixes, new features, and performance improvements.

Full release notes here:
https://software.intel.com/en-us/articles/intel-math-kernel-library-release-notes-and-new-features

Leave Darwin on 2019.3 pending resolution of DMG issues
2019-10-27 15:34:16 -04:00
Sam Stites
f12199614d magma: use cudatoolkit 2019-10-23 10:57:43 -07:00
markuskowa
f6d7f8ae16
Merge pull request #68927 from danieldk/mkl
mkl: include pkgconfig files
2019-10-13 19:16:49 +02:00
Linus Heckemann
5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00
Orivej Desh
2455b2e309 or-tools: 7.0 -> 7.3 2019-10-04 05:17:48 +00:00
Nikolay Amiantov
1c429acbff tensorflow: add OpenGL path to find libcudart 2019-10-02 10:33:31 +03:00
Timo Kaufmann
7a7e9c1b27
Merge pull request #64193 from timokau/sage-8.9
sage: 8.8 -> 8.9
2019-09-30 11:13:46 +00:00
Joachim F
ad773d31e2
Merge pull request #69345 from joachifm/feat/split-version
Replace uses of splitString for splitting version strings
2019-09-27 06:19:18 +00:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
Timo Kaufmann
1797c9c295 sage: 8.9.beta9 -> 8.9.rc0
Sage now by default expects the lcalc library to be named Lfunction
(instead of libLfunction). This could be changed by an environment
variable (https://trac.sagemath.org/ticket/28224), but various distros
seem to agree on this standard
(https://groups.google.com/forum/#!topic/sage-packaging/xvh55IxHTZg) so
it's best just to follow it. The old standard was set by sage anyway and
sage is the only consumer of lcalc in nixpkgs.
2019-09-24 17:51:09 +02:00
Matthieu Coudron
d70eba7ab3 ns-3: 3.29 -> 3.30
Fixes python bindings.
2019-09-24 00:30:12 +09:00
Daniël de Kok
9f25e95576 mkl: include pkgconfig files 2019-09-22 20:07:34 +02:00
David Guibert
92690a8937 cuddn: add 10.1 (version 7.6.3) 2019-09-17 15:19:41 +02:00
Markus Kowalewski
ecd20d2166
liblapack: remove optimized blas flag.
This cmake flag has no effect since no external blas
library is provided in the build inputs.
2019-09-15 11:39:58 +02:00
Markus Kowalewski
fc7374176f
liblapack: build LAPACKE C api 2019-09-15 11:39:58 +02:00
Vladimír Čunát
991c0e1618
treewide: mark packages as buildable on darwin (PR #45364)
vcunat amended the commit a bit; see the PR for details/discussion.
2019-09-15 10:50:08 +02:00
Miguel Madrid Mencía
148c82e07e
maintainer: mimadrid: update github username and personal data 2019-09-14 12:15:46 +02:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Frederik Rietdijk
5f4734b1dd Merge remote-tracking branch 'upstream/gcc-8' into staging-next
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
2019-09-08 20:44:26 +02:00
Frederik Rietdijk
66bc7fc1b3 Merge master into staging-next 2019-09-06 22:46:05 +02:00
tbenst
6d7282d74a magma: 2.0.2 -> 2.5.0 2019-09-06 20:15:10 +02:00
Vladimír Čunát
4aad2947f8
Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
Franz Pletz
de85797565
Merge remote-tracking branch 'origin/master' into gcc-8 2019-09-03 22:15:07 +02:00
idontgetoutmuch
739cdb368e Ensure blas produces pkg config files (#67629)
blas: produce pkgconfig file
2019-09-03 16:34:45 +02:00
Mikhail Volkhov
58dffa3459
clmagma: init at 1.3 2019-08-30 22:40:04 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk
5061fe0c2c Merge staging-next into staging 2019-08-28 08:26:42 +02:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Robin Gloster
616b8343c4
Merge remote-tracking branch 'upstream/master' into gcc-8 2019-08-25 18:55:46 +02:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
R. RyanTM
0ff0c288a8 sympow: 2.023.4 -> 2.023.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/sympow/versions
2019-08-20 21:06:37 -07:00
Markus Kowalewski
6ff8958bef openblas: 0.3.6 -> 0.3.7 2019-08-18 11:49:24 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Gabriel Ebner
a736d87393 spooles: init at 2.2 2019-08-14 19:09:39 +02:00
Timo Kaufmann
5e58c5f900 sympow: 1.018.1 -> 2.023.4
Maintenance taken over by debian package maintainer jgmbenoit:
https://trac.sagemath.org/ticket/3360#comment:17

This moves sympow to his fork, since there is no offical
version-controlled source repository from the original author and they
do not seem to maintain sympow anymore. We had already accumulated quite
some patches from debian, who have effectively maintained sympow for a
while now.
2019-08-09 17:45:08 +02:00
Nikolay Amiantov
0a1bf4734f libtensorflow: add binary build and add automatic generation 2019-07-31 13:28:44 +03:00
Orivej Desh
b5d1d50aa9 google-gflags: move to aliases.nix
google-gflags were renamed to gflags in 2012:
https://github.com/gflags/gflags/#25-january-2012

gflags.name will be updated in staging.
2019-07-25 09:18:32 +00:00
Orivej Desh
5d86f9a9ce nccl: 2.4.2-1 -> 2.4.8-1 2019-07-18 17:04:43 +00:00
Ryan Mulligan
508ae42a0f treewide: fix redirect URLs 2019-07-10 12:52:51 -07:00
Nikolay Amiantov
08b1d81089 osi: init at 0.108.4 2019-06-24 15:59:57 +03:00
R. RyanTM
069f2235af brial: 1.2.4 -> 1.2.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/brial/versions
2019-06-17 13:23:05 +02:00
Franz Pletz
146f9fda2b
papi: fix build with gcc8 2019-06-17 07:25:57 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Dmitry Kalinkin
cbaa9a7ab9
Merge pull request #57947 from smaret/fix-mkl
mkl: fix install_name on Darwin
2019-06-06 18:27:30 -04:00
Sébastien Maret
fb883a58df
mkl: fix install_name on Darwin
Closes #57697

Co-Authored-By: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2019-06-04 22:08:48 +02:00
Niklas Hambüchen
8d5864eb47 openblas: Add enableStatic flag 2019-05-28 08:57:23 +02:00
Niklas Hambüchen
43fda1c96d openblas: 0.3.5 -> 0.3.6 2019-05-28 08:57:23 +02:00
Silvan Mosberger
16c66f66ae
scalapack: Increase individual test timeout to prevent hydra failures 2019-05-27 20:08:32 +02:00
Florian Klink
2ed6903da5
libglvnd, ocl-icd, vulkan-loader: Add /run/opengl-driver(-32) to RUNPATH. (#60985)
libglvnd, ocl-icd, vulkan-loader: Add /run/opengl-driver(-32) to RUNPATH.
2019-05-22 23:36:01 +02:00
Ambroz Bizjak
28a0918916 Add driver library path to some packages to find CUDA libraries.
This is to avoid relying on LD_LIBRARY_PATH for finding the CUDA driver libraries.
2019-05-22 18:34:09 +02:00
Frederik Rietdijk
f137783927 Merge master into staging-next 2019-05-01 11:45:46 +02:00
R. RyanTM
16e1d009e0 ipopt: 3.12.12 -> 3.12.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ipopt/versions
2019-05-01 11:11:28 +02:00
Markus Kowalewski
6968c4f305 openblas: turn off AVX512 optimizations
The AVX512 optimization has a bug in openblas-0.3.5
and can also lead to slower code on Xeon Silver CPUs.

See https://github.com/xianyi/OpenBLAS/issues/1955
and https://github.com/xianyi/OpenBLAS/issues/2029
2019-04-27 07:07:49 +02:00
Matthew Bauer
87944c3125
Merge pull request #56744 from matthewbauer/macos-10-12
Update macOS to 10.12
2019-04-26 22:20:03 -04:00
Matthew Bauer
63831c398a python-fenics: put pytest in nativeBuildInputs 2019-04-26 21:55:10 -04:00
Renaud
6186a6f012
Merge pull request #58484 from sveitser/cudnn-v7.4.2
cudnn_cudatoolkit_10: 7.3.1 -> 7.4.2
2019-04-24 22:40:17 +02:00
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Mateusz Kowalczyk
575d6a4826
Merge pull request #58417 from andersk/ortools-7.0
or-tools: 6.10 -> 7.0, add Python bindings
2019-04-20 17:39:23 +09:00
Matthew Bauer
f475aeaf29
Merge pull request #59535 from matthewbauer/homepage-fixes
treewide: update homepages to https where available
2019-04-15 20:47:30 -04:00
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Dmitry Kalinkin
59c81160e7
Merge pull request #58504 from symphorien/static-proot
Static proot, wafHook cross compilation
2019-04-13 12:04:32 -04:00
Matthew Bauer
a79a8f29bc waf: use wafConfigureFlags for waf flags
This avoids the potential conflict between autoconf flags and the waf
flags. There is some overlap between the two but waf errors when it
doesn’t recognize the flag.
2019-04-09 23:44:37 -04:00
Frederik Rietdijk
d108b49168 Merge master into staging-next 2019-04-09 16:38:35 +02:00
Vladimír Čunát
e1f55599cc
Merge #58589: openblas: fix aarch64 build 2019-04-07 16:58:42 +02:00
Jan Tojnar
cb1a20499a
Merge branch 'master' into staging 2019-04-05 11:37:15 +02:00
Markus Kowalewski
70867a92f6
arpack: fix tests on darwin 2019-04-03 10:48:52 +02:00
Markus Kowalewski
9a60a65249
arpack: 3.6.3 -> 3.7.0
* switch to FetchFromGitHub
* switch from autotools to cmake
* add eigen to input (is now required)
2019-04-03 10:48:52 +02:00
Markus Kowalewski
734c6c21cb
mkl: 2019.0.117 -> 2019.3.199 2019-04-01 21:50:23 +02:00
Markus Kowalewski
fa28a838f3
openblas: fix aarch64 build 2019-03-31 12:19:41 +02:00
Markus Kowalewski
4c74ee948e
clblas: turn of gtest, fix build
clblas does not work anymore with gmock 1.8.1.
Turning off the test suite fixes the build.
2019-03-29 13:59:45 +01:00
sveitser
e29e315c5f
cudnn_cudatoolkit_10: 7.3.1 -> 7.4.2 2019-03-28 21:49:13 +08:00
Anders Kaseorg
ae6b9dcb0e or-tools: 6.10 -> 7.0
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-03-26 17:04:03 -07:00
Anders Kaseorg
08e9273e29 or-tools: Add Python bindings
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-03-26 17:04:03 -07:00
Wael M. Nasreddine
5af0780492
Merge remote-tracking branch 'origin/master' into staging
* origin/master: (693 commits)
  buildGoModule: use go_1_12 instead of go_1_11 (#58103)
  gitAndTools.lab: 0.15.2 -> 0.15.3 (#58091)
  signal-desktop: 1.22.0 -> 1.23.0
  added missing semicolon to documentation
  terminus_font_ttf: 4.46.0 -> 4.47.0
  buildGoModule: remove SSL env vars in favor of cacert in buildInputs (#58071)
  dav1d: init at 0.2.1
  dropbox-cli: 2018.11.28 -> 2019.02.14
  atlassian-confluence: 6.14.1 -> 6.14.2
  maintainers: update email for dywedir
  python.pkgs.hglib: use patch to specify hg path (#57926)
  chkrootkit: 0.52 -> 0.53
  radare2-cutter: 1.7.2 -> 1.8.0
  autorandr: 1.7 -> 1.8
  pythonPackages.pyhepmc: fix build
  llvm-polly/clang-polly: use latest llvm
  apulse: 0.1.11.1 -> 0.1.12, cleanup
  factorio: experimental 0.17.14 → 0.17.16 (#58000)
  sequeler: 0.6.7 -> 0.6.8
  nasc: 0.5.1 -> 0.5.2
  ...
2019-03-21 21:01:25 -07:00
R. RyanTM
e14d70d955 primesieve: 7.3 -> 7.4 (#57375)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/primesieve/versions
2019-03-12 22:43:56 +01:00
Matthew Bauer
37eba81c7b
Merge pull request #56391 from matthewbauer/cmake-treewide
Add more CMake flags
2019-03-11 12:43:46 -04:00
Matthew Bauer
6ed49262f5 treewide: remove BUILD_TESTING flag
This is now set by CMake
2019-03-11 10:11:28 -04:00
R. RyanTM
cac06fc53d ipopt: 3.12.11 -> 3.12.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ipopt/versions
2019-03-03 20:47:42 +01:00
Averell Dalton
d7806fe4ed openblas: adjust makeFlags handling 2019-02-23 09:13:57 +01:00
Markus Kowalewski
dbf5135385
scalapack: update meta data
* Set platform from linux -> x86_64-linux
  Scalapack does not seem to run properly on ARM (failing tests)

* Add markuskowa as maintainer
2019-02-21 15:08:33 +01:00
Markus Kowalewski
4aa90ac089
scalapack: add openmpi4 compatibility patch 2019-02-21 15:08:32 +01:00
Will Dietz
32322da1a6 openblas: fix config breakage introduced for configs using 'false'
My earlier change mistakenly expected `toString false` to produce '0'
instead of the empty string, leading to unexpected config changes.

Intended to address issue mentioned here and in following discussion:

https://github.com/NixOS/nixpkgs/pull/53972#issuecomment-459981602

Sorry, folks!

(special-case handling of bools here makes this "cleanup" a bit
 less of an obvious win but hopefully still preferable overall :))

-----------

makeFlags in resulting derivation, according to this one-liner:

$ nix show-derivation -f . openblas|jq ".[].env.makeFlags"

before:
"BINARY=64 CC=cc CROSS= DYNAMIC_ARCH=1 FC=gfortran HOSTCC=cc INTERFACE64=1 NO_BINARY_MODE= NO_STATIC=1 NUM_THREADS=64 PREFIX=/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 TARGET=ATHLON USE_OPENMP=1"

after:
"BINARY=64 CC=cc CROSS=0 DYNAMIC_ARCH=1 FC=gfortran HOSTCC=cc INTERFACE64=1 NO_BINARY_MODE=0 NO_STATIC=1 NUM_THREADS=64 PREFIX=/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 TARGET=ATHLON USE_OPENMP=1"

Without knowing how `placeholder` works, it seems interesting if
entirely unrelated that the `PREFIX` is same for both! :). TIL.
2019-02-17 19:51:55 +01:00
Dylan Simon
e69fdc1715 sympow: fix patch url to working revision (#55778)
fix_pointer_initialization2.patch no longer exists on trunk -- download
from a fixed older revision where it did.
2019-02-14 21:10:37 +01:00
Matthew Bauer
2433c575f0 openblas: fix on linux
This reverse changes made cfc4313 which broke builds on linux. Still
not sure why this broke Linux, but we can investigate it later.
“buildPackages.stdenv.cc” shouldn’t be put in nativeBuildInputs in
general. Either way, this restores hashes to before that commit.

thanks to @jethrokuan
2019-02-10 20:16:16 -05:00
Matthew Bauer
cfc43138cb openblas: fix on darwin
The openblas script relies on CC=clang for succesfully compiling on
Darwin systems. This seems like bad behavior, but we get things like
https://hydra.nixos.org/build/87657058 otherwise.

Fixes #55536.
2019-02-10 18:49:04 -05:00
Vladimír Čunát
c40f211499
Merge branch 'staging-next'
It's not completely without regressions, but ATM it seems to bring more
upsides than downsides and the iteration is too long already.
2019-02-10 14:20:49 +01:00
Orivej Desh
59cd3ee895 nccl: 2.1.4 -> 2.4.2-1 (#55292) 2019-02-10 01:20:04 +00:00
Vladimír Čunát
ff101946a8
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1503899
2019-02-06 14:24:46 +01:00
Guillaume Bouchard
9f0ee6c606 primesieve: init at 7.3 2019-02-04 13:03:50 +01:00
Vladimír Čunát
5effa4e0f9
Merge branch 'master' into staging-next
Comments on conflicts:
- llvm: d6f401e1 vs. 469ecc70 - docs for 6 and 7 say the default is
  to build all targets, so we should be fine
- some pypi hashes: they were equivalent, just base16 vs. base32
2019-02-01 09:22:29 +01:00
Markus Kowalewski
57c37456db
openblas: make the optimazation target overridable 2019-01-29 14:34:02 +01:00
Will Dietz
1f0467005d openblas: 0.3.4 -> 0.3.5, rework a bit (#53972)
* openblas: simplify a bit, fix doCheck so tests are enabled non-cross.

* doCheck should be 'true' in (at least) the non-cross case,
  this looks like an inverted check that's largely benign
* doCheck will be set to 'false' in the cross case anyway,
  makeDerivation does this IIRC
* targetPrefix can be used without checking, probably by design

Derivation hash does change but no "real" functionality change intended.

* openblas: nix types for config attrs (hash-preserving)

* openblas: more nix-ification, merge in cross attrs, prefer to always set

(but set appropriately for cross and non-cross cases both)

* I'm not sure what NO_BINARY_MODE does,
  this change now sets explicitly false in the non-cross scenario
  (previously unset unless cross).
* Drop musl NO_AFFINITY case, will be removed in upgrade shortly

* openblas: 0.3.4 -> 0.3.5
2019-01-15 16:36:07 +01:00
Frederik Rietdijk
05ee1015bb openblas: fix cross-compilation 2019-01-15 10:11:33 +01:00
Timo Kaufmann
04ba895ecd
suitesparse: 5.3.0 -> 5.4.0 (#53128) 2019-01-01 15:47:55 +01:00
Silvan Mosberger
eb864397a0
Merge pull request #52508 from tkonolige/fix_suitesparse_darwin
suitesparse: Fix darwin support
2018-12-31 03:24:48 +01:00
agracie
a3fc481b76 mkl: fix hash on Darwin 2018-12-26 20:57:08 -05:00
Bas van Dijk
72eae72223 openblas: fix build on x86_64-darwin
See: https://github.com/xianyi/OpenBLAS/issues/1926
2018-12-20 13:25:44 +01:00
Benjamin Hipple
6206a342e0 mkl: include Intel's libiomp.so in the MKL RPM unpack
Since Intel's default openmp implementation is available in the same src
tarball, we can just include it in the package. This means that `mkl` now "just
works" without any environment variables, fragile setup-hooks, or forced
propagation.

Since the openmp implementation is only needed at runtime (and for test cases),
users can substitute a different one if they prefer by exporting it with
`LD_PRELOAD`, which is how Intel recommends handling this. If they do not do so,
`libiomp.so` lives next to `libmkl_rt.so` and thus will be in the RPATH as a
sane default.

Since this still comes from the same src tarball, we can ship it without losing
the fixed-output derivation; likewise, since Hydra is not building or caching
these, shipping these proprietary packages costs no bandwidth for the nix
community.
2018-12-19 22:05:22 +01:00
Tristan Konolige
00005ce0bd suitesparse: Fix darwin support
Suitesparse libraries would end up containing references to the build
directory. fixDarwinDylibNames appears to not fix this problem. We
manually use intall_name_tool to set the library paths correctly.
2018-12-18 18:08:17 -07:00
Frederik Rietdijk
4deb04a97a openblas: 0.3.3 -> 0.3.4 2018-12-07 15:21:25 +01:00
Frederik Rietdijk
a510aa2672 Merge master into staging-next 2018-12-03 12:18:43 +01:00
Will Dietz
cd14ad53c3 or-tools: appease warning re:python3, try testing 2018-12-01 13:38:16 -06:00
Will Dietz
046e7980f9 or-tools: parallel 2018-12-01 13:38:16 -06:00
Will Dietz
70c2e88c96 or-tools: touchup 2018-12-01 13:38:16 -06:00