Commit Graph

33 Commits

Author SHA1 Message Date
Massimiliano Culpo
fc866ae0fe build systems: simpler, clearer decorators: run_after, run_before (#2860)
* PackageMeta: `run_before` is an alias of `precondition`, `run_after` an alias of `sanity_check`

* PackageMeta: removed `precondition` and `sanity_check`

* PackageMeta: decorators are now free-standing

* package: modified/added docstrings. Fixed the semantics of `on_package_attributes`.

* package: added unit test assertion as side effects of install

* build_systems: factored build-time test running into base class

* r: updated decorators in package.py

* docs: updated decorator names
2017-01-25 08:57:01 -07:00
Gregory Lee
592df25aef build fixes for openblas (#2601)
* build fixes for openblas

* avx2 in openblas nnot supported with older gcc

* merge fix for openblas
2016-12-17 17:04:59 -08:00
Massimiliano Culpo
87c9b01033 openblas: derives from MakefilePackage (#2488)
* MakefilePackage: changed build_args and install_args for consistency with #2464
openblas: derives from MakefilePackage

* MakefilePackage: changed default edit behavior
2016-12-15 10:15:52 -08:00
Barry Smith
3de26ff3d7 openblas: Fixes to get OpenBLAS to install with Intel compilers (#2101)
Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 1 hour
2016-10-25 11:12:22 -07:00
Denis Davydov
1e10309ff7 some fixes to blas/lapack usage in packages (#1852)
* atlas: fix unit test

* openblas: remove symlinks; use lapack_libs.ld_flags in the test

* mkl: fix openmp variant of blas/lapack libs

* intel-parallel-studio: fix openmp variant of blas/lapack libs

* netlib-scalapack: fix blas/lapack for multilib case (e.g. mkl)

* arpack-ng: fix blas/lapack for multilib case (e.g. mkl)

* petsc: explicitly specify blas/lapack

* minor

* cantera: fix blas/lapack usage

* ipopt: fix blas/lapack usage

* netlib-lapack: fix external blas usage

* mfem: fix lapack/blas usage

* superlu-mt: fix blas usage

* flake8 fixes
2016-09-26 10:37:23 -07:00
Massimiliano Culpo
d848559f70 Reworking of lapack_shared_libs and similar properties (#1682)
* Turned <provider>_libs into an iterable

Modifications :
- added class LibraryList + unit tests
- added convenience functions `find_libraries` and `dedupe`
- modifed non Intel blas/lapack providers
- modified packages using blas_shared_libs and similar functions

* atlas : added pthread variant

* intel packages : added lapack_libs and blas_libs

* find_library_path : removed unused function

* PR review : fixed last issues

* LibraryList : added test on __add__ return type

* LibraryList : added __radd__ fixed unit tests

fix : failing unit tests due to missing `self`

* cp2k and dependecies : fixed blas-lapack related statements in package.py
2016-09-21 12:27:59 -07:00
Erik Schnetter
2e490050f6 Update OpenBLAS to 0.2.19 (#1702) 2016-09-20 02:13:25 -07:00
Todd Gamblin
84e331c586 Remove unneeded noqa comments. 2016-08-10 16:33:39 -07:00
Denis Davydov
1cc04cff27 openblas: raise an error without Fortran compiler 2016-06-19 11:59:10 +02:00
Denis Davydov
8db35ab9a2 openblas: use spack_cc/spack_f77 and add a note on compiler mixing 2016-05-13 17:28:30 +02:00
Todd Gamblin
e7ced54369 Correct LLNL LGPL license template for clarity. 2016-05-11 21:22:25 -07:00
Denis Davydov
eba264fcd0 fix formatting 2016-05-11 16:11:34 +02:00
Denis Davydov
361b629034 openblas: make unit test more robust by outputing only the solution vector from dgesv 2016-05-11 15:10:13 +02:00
Denis Davydov
809ded74c9 add functions for simple unit tests; refactor openblas to use them 2016-05-11 15:10:13 +02:00
Todd Gamblin
87c772b117 Merge pull request #845 from davydden/openblas_cleanup_unit_test
openblas: fix a bug and cleanup the unit test
2016-05-10 01:28:49 -07:00
Denis Davydov
b063ab42bf openblas: fix and cleanup the unit test 2016-05-10 07:33:57 +02:00
Denis Davydov
72b91758c9 openblas: raise an error when using +openmp with clang; set +openmp to false by default 2016-05-08 16:51:06 +02:00
Todd Gamblin
d00680a883 Merge pull request #886 from eschnett/eschnett/openblas-make
Disable OpenBLAS's overriding of our "make -jN" option
2016-05-05 00:53:47 -07:00
Erik Schnetter
40d578be95 Disable OpenBLAS's overriding of our "make -jN" option 2016-05-03 10:38:05 -04:00
Elizabeth F
71ca837ada Add '+fpic' variant. 2016-04-27 20:36:41 -04:00
Elizabeth F
ee6a75c9b5 Added missing -lpthread to OpenBLAS check.
See: https://github.com/xianyi/OpenBLAS/wiki/faq#static_link
2016-04-27 18:44:54 -04:00
Denis Davydov
dd37959899 output with new lines 2016-04-25 16:21:19 +02:00
Denis Davydov
42be50d10b add a test/output pair 2016-04-25 13:53:41 +02:00
Denis Davydov
b81cb554f5 openblas: a small unit test to make sure Lapack symbols are compiled 2016-04-25 13:30:20 +02:00
Adam J. Stewart
cb6c6fb374 Add elk package 2016-04-11 16:28:30 -05:00
Denis Davydov
9b3c7b8afa openblas: provide basename of compilers to avoid issues with detection of Fortran 2016-04-06 10:55:59 +02:00
Todd Gamblin
66bb71534b Better blas/lapack and scipy packages: more robust, added shared variants.
- py-scipy now builds with netlib-lapack, openblas, and atlas.
- started a convention for passing lib info from blas/lapack implementations.

- Improved netlib-lapack:
  - Also build static libs when `shared` variant is enabled.
  - Enable CBLAS  build
    - needed minor patch to build correctly.

- Added `shared` variant to OpenBLAS.
  - Made OpenBLAS build properly shared and static.
2016-03-27 11:32:42 -07:00
Denis Davydov
4e5dfc8b18 fix missing (depricated) _dggsvd_ and _sggsvd_ in Openblas 0.2.16 2016-03-23 22:09:39 +01:00
Denis Davydov
620c120503 fix openblas suffix for OS-X 2016-03-20 09:26:11 +01:00
Erik Schnetter
1b279cd7ff Update OpenBLAS to 0.2.16 2016-03-17 21:51:26 -04:00
Massimiliano Culpo
70985170e5 qe : compiled on rhle6 2016-02-12 12:08:31 +01:00
Todd Gamblin
8d6342c53d Merge branch 'mplegendre-multi_pkgsrc_roots' into develop
- This moves var/spack/packages to var/spack/repos/builtin/packages.

- Packages that did not exist in the source branch, or were changed in
  develop, were moved into var/spack/repos/builtin/packages as part of
  the integration.

Conflicts:
	lib/spack/spack/test/unit_install.py
	var/spack/repos/builtin/packages/clang/package.py
2016-01-19 01:16:08 -08:00
Todd Gamblin
c65fd3a289 Merge branch 'develop' into mplegendre-multi_pkgsrc_roots
Conflicts:
	lib/spack/spack/cmd/create.py
	lib/spack/spack/cmd/extensions.py
	lib/spack/spack/cmd/fetch.py
	lib/spack/spack/cmd/uninstall.py
	lib/spack/spack/config.py
	lib/spack/spack/database.py
	lib/spack/spack/directory_layout.py
	lib/spack/spack/packages.py
	lib/spack/spack/spec.py
2015-12-25 16:35:55 -08:00