nixpkgs/pkgs/applications/science
Sebastián Mancilla 82568e6718 shogun: refactor build
Main changes are:

- Build with default stdenv instead of forcing GCC 8, by applying upstream
  patches that fix building with newer compilers.

  Together with #134390 and #134393 (and the blas library fixes on #135493
  and #136535), this enables building the derivation on darwin.

- Use multiple outputs.

- Move build-only inputs to nativeBuildInputs.

- Generate the meta examples but do not compile them (they are compiled as
  part of the tests), to not make the build take more time than already is.

  Install the example source files into $doc (but do not install the
  example binaries, only the sources).

- Enable testing by setting the CMake variable CMAKE_SKIP_BUILD_RPATH to
  false (it should not be needed if #108496 is merged). This allows the
  tests to locate the shogun library and run without problems.

  Disable integration and meta tests to speed up the build.

With a few other minor changes:

- Use upstream URL for the json-c patch.

- Be explicit about which optional, commercial dependencies are not used,
  to stop CMake searching for them.

- Do not set NIX_CFLAGS_COMPILE with '-faligned-new' because it causes a
  warning when compiling C files. Set CXXFLAGS instead.

- Remove unnecessary ccache variables from the environment.

- Fix wrong Google Mock download location, which was forcing CMake to need
  network access to download the tarball to the right location (which fails
  within the sandbox).
2021-11-08 23:57:29 -03:00
..
astronomy pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
biology pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
chemistry pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
electronics Merge pull request #145006 from Artturin/spdlogupd 2021-11-07 23:04:28 +01:00
geometry pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
logic pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
machine-learning shogun: refactor build 2021-11-08 23:57:29 -03:00
math pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
medicine treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
misc pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
molecular-dynamics gromacs: fix formatting 2021-10-28 16:47:06 +02:00
networking/sumo sumo: 1.8.0 -> 1.9.2 2021-06-29 11:24:41 +02:00
physics sherpa: 2.2.10 -> 2.2.11 2021-10-24 18:22:59 -04:00
programming plm: fix old link & deprecate phases 2021-08-08 23:53:53 +02:00
robotics mavproxy: 1.8.44 -> 1.8.45 2021-10-13 00:39:29 +00:00