3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

82 commits

Author SHA1 Message Date
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
Frederik Rietdijk de66fc6a2a release.nix and release-small.nix: remove unar, fixes #76927
This package is hardly used in Nixpkgs. Why is it considered
sufficiently important to block a channel?

It's been blocking the nixpkgs-unstable for 8 days now, so removing it
from release*.nix.
2020-01-13 15:53:49 +01:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Jan Tojnar d3ff902e94
webkit: move to aliases 2019-03-06 00:20:55 +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
Shea Levy 8b097fc7f6
release-small.nix: Fix evaluation error 2018-03-17 21:57:44 -04:00
Tuomas Tynkkynen ef64208eba Merge commit '3ab2949' from staging into master
Conflicts:
	pkgs/development/compilers/llvm/6/llvm.nix
	pkgs/servers/home-assistant/component-packages.nix
2018-03-15 22:30:56 +02:00
John Ericson f79f80dbf2 treewide: get rid of platforms.allBut
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
2018-03-14 18:44:42 -04:00
Shea Levy c69d8bf5e6
treewide: Remove gnat support.
See discussion in 6ac7b19c97.
2018-03-08 13:56:36 -05:00
Will Dietz 5911b8d415 release-small: Don't attempt to access "dbus.libs", etc., don't exist
dbus_libs and others do, but they're deprecated.

Just build 'dbus', these are now its various outputs.
2018-01-12 18:06:53 -06:00
Will Dietz 5ead12ca20 release-small: remove dead attribute aterm25, removed early 2016
(Removed in 393977d800)
2018-01-05 18:38:50 -06:00
Robin Gloster 8dca9bff66
upstart: remove ancient 2017-08-28 21:13:03 +02:00
Graham Christensen 7d0b001d4a nixos,nixpkgs: only build essentials on i686 2017-08-05 12:06:05 +02:00
John Ericson b477851f34 top-level: Less indirection for lib in release*.nix 2017-04-17 17:13:01 -04:00
Vladimír Čunát b6036c95d0
release-small: use unar instead of unrar
It's a free (SW) alternative.  See #16868.
2017-04-03 09:09:37 +02:00
Jörg Thalheim 36fca93290
rename iana_etc to iana-etc
fixes #23621
2017-03-28 22:35:15 +02:00
Nikolay Amiantov 1426779072 portmap: remove
rpcbind is used instead
2017-02-01 02:44:56 +03:00
Frederik Rietdijk 104c50dd1a Python: remove modules and pythonFull 2016-10-10 10:33:24 +02:00
Moritz Ulrich 01e44ac1f9 emacs: 24.5 -> 25.1
This commit removes all references to emacs24 with the exception of
emacs24-macports. The two folders in `pkgs/applications/editors` named
`emacs-24` and `emacs-24` are consolidated to a new `emacs` folder.

Various parts in nixpkgs also referenced `emacs24Packages` (pinned to
`emacs24`) explicitly where `emacsPackages` (non-pinned) is more
appropriate. These references get fixed by this commit too.
2016-09-18 13:38:21 +02:00
Domen Kožar da421bc75f Fix #4210: Remove builderDefs
This was one of the ways to build packages, we are trying
hard to minimize different ways so it's easier for newcomers
to learn only one way.

This also:

- removes texLive (old), fixes #14807
- removed upstream-updater, if that code is still used it should be in
  separate repo
- changes a few packages like gitit/mit-scheme to use new texlive
2016-08-31 11:34:46 +02:00
John Ericson f073df60d6 Replace ./../* with ../* in Nix expressions (#16414) 2016-06-22 10:39:50 +02:00
Tuomas Tynkkynen 0f8a49bb45 module_init_tools: Remove
It is deprecated doesn't handle compressed modules, unlike its modern
counterpart kmod.

Add a compatibility alias to kmod for now in case someone is depending
on this in their scripts.
2016-04-22 10:44:55 +03:00
Franz Pletz e498a645c1 ncat: Remove old package, available in nmap 2016-03-30 08:53:22 +02:00
Nicolas B. Pierron 6313a5698a Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
Eelco Dolstra 6bd0c3fe9d ifplugd: Remove
This package hasn't been updated in 11 years, and isn't really useful
anymore in a modern Linux system.
2016-03-03 19:43:11 +01:00
Kevin Cox eead3bc536 util-linux: create -Minimal and utillinux (full)
Close #12952. Now the full version is used by default,
supporting systemd and curses.
2016-02-25 08:52:05 +01:00
Vladimír Čunát 4f08cb0de9 policykit: remove the package obsoleted by polkit
Inspired by:
https://github.com/NixOS/nixpkgs/commit/6ce3b9a8068d#commitcomment-15226586
2016-01-02 09:02:06 +01:00
Tobias Geerinckx-Rice 47eb4d4430 Migrate manpages -> man-pages (upstream project name) 2015-12-06 23:44:13 +01:00
Vladimír Čunát 179218252b tetex: don't build on Hydra anymore
Only asciidoc refers to it now (and broken latex2html).
2015-09-23 21:19:14 +02:00
Eelco Dolstra 8c1e98563c Remove aterm28 from release-small, it's broken 2015-05-13 11:52:10 +02:00
Eelco Dolstra 4a22a4429c gcc-3.4: Remove
No longer in use.
2015-05-12 15:05:01 +02:00
William A. Kennington III 050e6fa431 mysql51: Remove from the small release 2015-04-01 13:24:29 -07:00
Eelco Dolstra 738cf42639 release-lib: Simplify 2015-03-20 19:37:55 +01:00
Eelco Dolstra dda16e0c06 pam_login: Remove
We haven't used/updated this package in years.
2015-03-20 16:38:21 +01:00
Eelco Dolstra 87c86f6711 pam_console: Remove
This package is no longer used in NixOS.
2015-03-20 16:18:10 +01:00
Bjørn Forsman f85ad2d378 nfs-utils: align attrname with pkgname
nfsUtils => nfs-utils. Keep copy of old attribute for backward
compatibility.
2014-12-06 17:01:05 +01:00
Aristid Breitkreuz 4790b70fb5 remove gcc33 from release expressions 2014-11-16 17:34:03 +01:00
Domen Kožar 11345b7844 remove icecat3 2014-08-25 09:52:38 +02:00
Luca Bruno b331ae33d7 Make platforms.allBut accept a list rather than a single platform 2014-08-09 12:31:33 +02:00
Bjørn Forsman a1a2851409 Fix tarball job
gcc42 was removed in commit 5add082ab8
("gcc-4.2: Remove") but there are still some references to it. Remove
those references to fix Hydra tarball job.
2014-07-23 23:00:18 +02:00
Vladimír Čunát 07ab75205c release: fix automake evaluation, broken in 5888f27c 2014-02-02 12:09:58 +01:00
Eelco Dolstra c79bda8d47 release-small.nix: Disable FreeBSD 2014-02-01 11:55:14 +01:00
Vladimír Čunát 3f9388436b tarball/release: change gnat44 (removed) into gnat 2014-01-18 17:06:56 +01:00
Vladimír Čunát b60d44a00a release: remove gcjXX references to fix tarball 2013-10-30 22:04:34 +01:00
Peter Simons ac5d5297dd Merge remote-tracking branch 'origin/master' into stdenv-updates. 2013-10-02 22:44:12 +02:00
Eelco Dolstra 8a182718ca splashutils: Remove 2013-09-26 18:03:43 +02:00
Peter Simons 6451264e63 Drop obsolete versions of flex: we only used the latest one, 2.5.35. 2013-09-09 10:39:56 +02:00
Peter Simons 76244ac2e2 Merge branch 'master' into stdenv-updates
Conflicts:
	pkgs/development/compilers/ghc/with-packages.nix
2013-08-16 22:51:13 +02:00
Peter Simons a940651968 liblapack: add myself as a maintainer and enable Hydra builds (in stdenv-updates) 2013-08-16 22:45:30 +02:00
Peter Simons 522acfd2f4 Merge remote-tracking branch 'master' into stdenv-updates.
Conflicts:
	pkgs/applications/version-management/git-and-tools/git/default.nix
	pkgs/top-level/all-packages.nix
2013-07-30 11:29:30 +02:00