Commit graph

401 commits

Author SHA1 Message Date
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
Will Dietz c4feda8b01 or-tools: v6.9.1 -> v6.10
https://github.com/google/or-tools/releases/tag/v6.10
2018-12-01 13:38:16 -06:00
Frederik Rietdijk fed881e510 Merge staging-next into staging 2018-11-21 12:39:46 +01:00
Matthew Bauer d492f53faf
Merge pull request #50527 from matthewbauer/ninja-check-phase
Add check phase to ninja setup hook
2018-11-20 16:55:12 -06:00
Timo Kaufmann 6059bf842a
Merge pull request #49994 from r-ryantm/auto-update/python3.6-cvxopt
python36Packages.cvxopt: 1.2.1 -> 1.2.2
2018-11-20 14:25:43 +01:00
Matthew Bauer 285eb9a894 cmake: set CTEST_OUTPUT_ON_FAILURE globally
We should always use this.
2018-11-19 16:16:16 -06:00
Frederik Rietdijk e343a85cfb Merge master into staging-next 2018-11-19 09:55:32 +01:00
Matthew Bauer 2c47a4229f treewide: remove ctest usages
These are already in the generated makefiles!
2018-11-18 19:31:02 -06:00
Matthew Bauer 2c1d3a9a82 Merge remote-tracking branch 'upstream/master' into staging 2018-11-18 19:02:09 -06:00
Orivej Desh e66d263f6b eigen3_3: move version overrides to all-packages.nix 2018-11-18 10:53:25 +00:00
Frederik Rietdijk 63c6875f26 Merge master into staging-next 2018-11-18 10:32:12 +01:00
Renaud cde945a165
Merge pull request #48044 from schneefux/pkg/fetchfromgithub
treewide: Use fetchFromGitHub instead of fetchurl
2018-11-14 09:48:22 +01:00
Matthew Bauer f2a20b6e52 treewide: use wafHook
Replace "waf" phases with wafHook that manages everything
automatically. Should make things more modular.

Packages affected here are:

- a2jmidid
- ams-lv2
- ardour
- fomp
- guitarix
- ingen
- jalv
- mda-lv2
- non
- patchage
- hamster-time-tracker
- kupfer
- xiphos
- xfce4-dockbarx-plugin
- xfce4-namebar-plugin
- dropbox
- clasp
- aubio
- liliv
- lv2
- lvtk
- ntk
- raul
- sratom
- suil
- ganv
- ndn-cxx
- ns3
- serd
- sord
- termbox
- wxmupen64plus
- jackaudio
- pflask
- blockhash
- glmark2
- weighttp
2018-11-13 19:13:48 -06:00
Daiderd Jordan 5b8c4b0646
suitesparse: fixup darwin libraries
The build created libraries with an install_name that points to the
build directory instead of the installation prefix.  Causing errors like
this when other packages try to link against it's libraries.

    Library not loaded: /private/tmp/nix-build-suitesparse-5.3.0.drv-0/SuiteSparse/lib/libcholmod.3.0.12.dylib
2018-11-13 00:25:32 +01:00
markuskowa 45a4adb1b3
Merge branch 'master' into atlas-remove 2018-11-11 02:22:04 +01:00
Markus Kowalewski 06f3676770
scalapack: set platform to linux 2018-11-11 02:17:20 +01:00
markuskowa bf8c031074
Merge pull request #49199 from markuskowa/fet-scalapack
scalapack: switch to openblas and add test
2018-11-05 21:12:01 +01:00
Matthew Bauer 95373d3634 atlas: remove
atlas is broken and can apparently be removed.

Fixes #49594
2018-11-04 20:23:12 -06:00
Patrick Hilhorst 4cfeb9da53
cudatoolkit, cudnn: many updates
cudatoolkit_9_1: 9.1.85.1 -> 9.1.85.3
cudatoolkit_9_2: init at 9.2.148.1
cudatoolkit_9: 9.1.85.1 -> 9.2.148.1
cudatoolkit_10, cudatoolkit_10_0: init at 10.0.130

cudnn_cudatoolkit_9_0: 7.0.5 -> 7.3.0
cudnn_cudatoolkit_9_1: init at 7.1.3
cudnn_cudatoolkit_9_2: init at 7.2.1
cudnn_cudatoolkit_9: 7.0.5 (9.1) -> 7.3.1 (9.2)
cudnn_cudatoolkit_10, cudnn_cudatoolkit_10_0: init at 7.3.1
2018-10-30 19:09:20 +01:00
Markus Kowalewski 41a579aa68
scalapack: switch to openblas + add test
* change from blas,lapack to openblas
* add check phase
* enable parallel building
* fix license
2018-10-27 01:06:07 +02:00
Mateusz Kowalczyk 02fb26136c or-tools: new package (v6.9.1) 2018-10-25 14:15:13 +09:00
Mateusz Kowalczyk b41f8936b9 QuadProgpp: Add new package.
Necessary for #48895.
2018-10-24 09:19:26 +09:00
Michael Raskin acb7d85993 lrs: init at 7.0 2018-10-23 11:41:29 +03:00
Renaud 0cc07aeee6
Merge pull request #48172 from jluttine/cholmod-extra-1.2.0
cholmod-extra: init at 1.2.0
2018-10-21 17:28:30 +02:00
Thomas Tuegel 2e4397f631
Merge pull request #35213 from jluttine/suitesparse-5.1.2
suitesparse: 4.4.4 -> 5.3.0
2018-10-20 08:07:27 -05:00