nixpkgs/pkgs/applications/science/machine-learning
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
..
fasttext treewide: remove danieldk as maintainer from a set of packages 2021-09-12 14:42:12 +00:00
finalfrontier treewide: remove danieldk as maintainer from a set of packages 2021-09-12 14:42:12 +00:00
finalfusion-utils treewide: remove danieldk as maintainer from a set of packages 2021-09-12 14:42:12 +00:00
labelimg pythonPackages.sip: rename to sip_4 2021-05-10 20:41:38 +02:00
nengo-gui nengo-gui: init at 0.4.8 (#130015) 2021-07-23 14:06:09 +02:00
sc2-headless treewide: editorconfig fixes 2021-01-20 09:11:11 +10:00
shogun shogun: refactor build 2021-11-08 23:57:29 -03:00
starspace starspace: build with gzip support 2021-06-13 16:20:58 +01:00
streamlit streamlit: fix build 2020-09-15 11:19:26 -07:00
vowpal-wabbit treewide: remove fmt from buildInputs where spdlog is used 2021-11-07 22:05:08 +02:00