Commit graph

12383 commits

Author SHA1 Message Date
Greg Becker
3f1c78128e
make env view loading unconditional (#12719) 2019-09-05 18:15:36 -07:00
Toyohisa Kameyama
34647913be fftw: change default value of simd variant for other than x86_64 (#11627)
* Use spec.architecture.target insted of platform.

* remove default in simd variant value.
simd variant change to archtecture independent values.

* Add check simd values.

* rewrite check simd values.

* * flake8
* change aarch64 to arm (neon support only 32 bit arm.)
2019-09-05 11:42:04 -07:00
Matthieu Dorier
1dbf3c208b FIX Catalyst: corrected catalyst package for aarch64 targets (#12707)
* corrected catalyst package for aarch64 targets

* corrected syntax

* corrected undefined variable
2019-09-05 12:44:38 -05:00
Ruben Di Battista
6ef95481ef Add pixz package (#12698) 2019-09-05 09:40:29 -05:00
Jennifer Herting
ca8db06e37 [jemalloc] added version 5.2.1 (#12706) 2019-09-05 09:39:42 -05:00
Hironori-Yamaji
ed6a2f0ef9 textparser: new package (#12713)
* textparser: new package

* textparser: use 'parallel = False'
2019-09-05 09:37:21 -05:00
Michael Kuhn
ad93f47c8f mariadb: Add missing dependencies (#12715)
Found while building mariadb in a minimal build environment.
2019-09-05 09:34:44 -05:00
Janne Blomqvist
30756a643b py-ase: New version 3.18 (#12697)
* py-ase: New version 3.18

Add ASE version 3.18. ASE 3.18 has dropped support for python 2.x,
hence add a dependency on python@3.5: for it.

* Add more ASE dependencies

Address review comments, add dependencies on py-scipy, py-matplotlib,
py-flask, and also add type=('build', 'run') dependency specifiers.
2019-09-05 09:09:37 -05:00
Toyohisa Kameyama
e50dbe6f76 cctools: fixed to build on ARM. (#11862) 2019-09-04 16:45:41 -07:00
Paul Bryant
cb2d18c1e6 Add Go 1.13 2019-09-04 15:04:51 -07:00
t-karatsu
e08f527004 openblas: Add route to f_check for Fujitsu compiler. (#11804) 2019-09-04 15:01:58 -07:00
Chris Green
7f8fe11e4d Improve mock_archive versatility; Remove unwanted ALLOWED_ARCHIVE_TYPES. (#12513)
mock_archive can now take multiple extension / tar option pairs (default matches old behavior).

url_fetch.test_fetch tests more archive types.

compression.EXTS split into EXTS and NOTAR_EXTS to avoid unwanted, non-meaningful combinatoric extensions such as .tar.tbz2.
2019-09-04 13:49:00 -05:00
asmaahassan90
00b02fd234 Add gams recipe (#12700)
* Add gams recipe

* Break down lines to pass lint
2019-09-04 10:13:58 -05:00
t-karatsu
fc9e17289a boost: add -c option to C/C++ compile commands for clang. (#12694) 2019-09-04 10:07:31 -05:00
Mario Melara
407834fffa cppflags point to ncurses headers (#12691)
While debugging this package on our Cray machine, tmux was throwing an
error involving the ncurses headers. Tmux would look for headers in
system locations rather than where spack installed ncurses. Tested only
on a Cray.
2019-09-04 10:06:35 -05:00
asmaahassan90
5953336c3e Add tecplot recipe (#12688)
* Add tecplot recipe

* break down description to pass lint

* fix format to match python 2.6 requiremnets

* importing os
2019-09-04 09:25:43 -05:00
Matthieu Dorier
3181021c11 Boost: fixed problem when requesting ~signals for boost >= 1.69 (#12627)
* fixed problem when requesting ~signals for boost >= 1.69

* added checks for all libs in with_libs
2019-09-04 09:25:00 -05:00
Sinan
d7ef97392c new package: liblas (#12619)
* new package: liblas

* explicitly disable build options

* fix indentation
2019-09-04 09:20:38 -05:00
Todd Gamblin
6b619daef3 specs: better lookup by hash; allow references to missing dependency hashes
- previously spec parsing didn't allow you to look up missing (but still
  known) specs by hash

- This allows you to reference and potentially reinstall
  force-uninstalled dependencies

- add testing for force uninstall and for reference by spec

- cmd/install tests now use mutable_database
2019-09-04 00:25:36 -07:00
Tamara Dahlgren
c141e99e06 Use spack/user-specific stage root by default; stage cleaning (#12516)
* When cleaning the stage root, only remove directories that appear
  to be used for staging Spack packages. Previously Spack was clearing
  all directories in the stage root, which could remove content not
  related to Spack if the user chose a staging root which contains
  files/directories not managed by Spack.
* The documentation is updated with warnings about choosing a stage
  directory that is only managed by Spack (although generally the
  check added in this PR for "spack clean" should avoid removing
  content that was not created by Spack)
* The default stage directory (in config.yaml) is now
  $tempdir/$user/spack-stage and the logic is updated to omit the
  $user portion of this path if $tempdir already contains a $user
  directory.
* When creating stage root assign user read/write permissions to all
  directories in the path under $user. Previously Spack was assigning
  the permissions of the first existing parent directory
2019-09-03 16:31:27 -07:00
Peter Scheibel
868f7869e0
py-chardet package: add py-pytest-runner dependency (#12692)
This required dependency was missing
2019-09-03 14:56:53 -07:00
Sinan
c14b7379f9 new package: protobuf-c (#12634)
* new package: protobuf-c

* Update var/spack/repos/builtin/packages/protobuf-c/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
2019-09-03 16:16:50 -05:00
Todd Gamblin
d79f85d763 perf: spack find -p now does only one DB transaction
`spec.prefix` reads from Spack's database, and if you do this with
multiple consecutive read transactions, it can take a long time.  Or, at
least, you can see the paths get written out one by one.

This uses an outer read transaction to ensure that actual disk locks are
acquired only once for the whole `spack find` operation, and that each
transaction inside `spec.prefix` is an in-memory operation. This speeds
up `spack find -p` a lot.
2019-09-03 07:41:38 -07:00
t-karatsu
ae41ef9146 Boost/Change the method for analysis version (#12676)
* boost:Change the method for analysis version when using Fujitsu compiler.

* Change version to apply patch for Fujitsu.

* fix typo
2019-09-03 09:27:48 -05:00
Hironori-Yamaji
9e1800d81c pmlib: new package (#12625)
* pmlib: new package

* pmlib: fix options and add patch

* pmlib: fix the patch file
2019-09-03 09:26:47 -05:00
Hironori-Yamaji
6ea27cabd6 ccs-qcd: new package (#12681)
* ccs-qcd: new package

* ccs-qcd: fix variant and replacement string
2019-09-03 09:15:34 -05:00
Todd Gamblin
da7fed86a8 tests: add tests for spack extensions command
- add tests for `spack extensions`
- refactor `test_activations` test to use real extensions.
2019-09-02 19:24:48 -07:00
Todd Gamblin
1b877e8e0f tests and completions for spack find --json and spack find --format 2019-09-02 19:24:48 -07:00
Todd Gamblin
2dc7467760 tests: remove extraneous print statement 2019-09-02 19:24:48 -07:00
Todd Gamblin
d4bad06202 refactor: clean up spack find, make spack find -dp work properly
Refactor `spack.cmd.display_specs()` and `spack find` so that any options
can be used together with -d. This cleans up the display logic
considerably, as there are no longer multiple "modes".
2019-09-02 19:24:48 -07:00
Todd Gamblin
987d8cbaaa docs: add docs for spack find --format and spack find --json
- add docs for `spack find --format`
- add docs for `spack find --json`
- update references to Spec.format() docs and add links
2019-09-02 19:24:48 -07:00
Todd Gamblin
1a1f5674df command: add spack find --json
This is another machine-readable version of `spack find`.  Supplying the
`--json` argument causes specs to be written out as json records,
easily filered with tools like jq.

e.g.:

    $ spack find --json python | jq -C ".[] | { name, version } "
    [
      {
        "name": "python",
        "version": "2.7.16"
      },
      {
        "name": "bzip2",
        "version": "1.0.8"
      }
    ]
2019-09-02 19:24:48 -07:00
Todd Gamblin
64af0a9874 command: add spack find --format
- spack find --format allows you to supply a format string and have specs
  output in a more machine-readable way, without dedcoration

e.g.:

    spack find --format "{name}-{version}-{hash}"
    autoconf-2.69-icynozk7ti6h4ezzgonqe6jgw5f3ulx4
    automake-1.16.1-o5v3tc77kesgonxjbmeqlwfmb5qzj7zy
    bzip2-1.0.6-syohzw57v2jfag5du2x4bowziw3m5p67
    ...

or:

    spack find --format "{hash}"
    icynozk7ti6h4ezzgonqe6jgw5f3ulx4
    o5v3tc77kesgonxjbmeqlwfmb5qzj7zy
    syohzw57v2jfag5du2x4bowziw3m5p67
    ...

This is intended to make it much easier to script with `spack find`
2019-09-02 19:24:48 -07:00
Michael Kuhn
9b8f1fdc40 esmf: Fix build with gcc@8: (#12678) 2019-09-02 10:02:17 -05:00
asmaahassan90
6a791db72d Add XSSP recipe (#12679) 2019-09-02 10:00:57 -05:00
Michael Kuhn
d7a92adb93 icu4c: Add missing python dependency (#12683) 2019-09-02 09:52:51 -05:00
asmaahassan90
c184e79b91 Add fpocket (#12675)
* Add fpocket

* fix recipe

break down the description to pass lint

* update license

* make changes as per maintainer's review
2019-09-02 09:51:53 -05:00
asmaahassan90
4e487bf308 Install the newest version of ncbi-rmblastn (#12580)
* Install the newest version of ncbi-rmblastn

Version ncbi-rmblastn 2.2.28 coonfiguration fails for gcc compiler on ubuntu 16.04 due to some compatibility issues that requires manual intervention to keep the installation going. However you still stumble upon other issues while compiling it.
Using Intel compiler passes the configuration step but fails for the compilation process as well.

Here I'm using the latest version and patch, and the recommended configuration option as mention in http://www.repeatmasker.org/RMBlast.html

* uploading ncbi-blast patch
2019-09-01 11:11:15 -05:00
Kevin Manalo
421310a037 IDBA: package does not need conflicts with other compilers (#12674) 2019-09-01 11:08:05 -05:00
asmaahassan90
d3b89083f3 Add Vesta recipe (#12581)
* Add Vesta recipe

* Break down description to pass lint

* Make changes as maintainers' review

* remove whitespaces
2019-09-01 10:41:57 -05:00
健美猞猁
8c9e14486b A new package: fastp. (#12671)
* A new package: fastp.

* Flake8.

* Flake8.
2019-09-01 00:01:35 -05:00
Sinan
bb28028608 new package: py-requests-oauthlib (#12548)
* new package: py-requests-oauthlib

* add a version

* fix typo
2019-08-31 15:13:04 -05:00
Sinan
6723032440 new package: py-systemd-python (#12595) 2019-08-31 14:57:03 -05:00
Glenn Johnson
1a8ece4504 Add MKL variant to Julia (#12602)
This PR provides an option to build Julia with Intel MKL.
2019-08-31 14:48:40 -05:00
Sinan
6ec5cf4bf0 new package: optipng (#12608) 2019-08-31 14:41:06 -05:00
Sinan
ed59a94d04 new package: pngquant (#12609) 2019-08-31 14:40:26 -05:00
Sinan
da48112812 new package: pktools (#12611)
* new package: pktools

* rename and enable utilities

* enable build with FANN

* add variants, dependencies

* expcitly turn off options when not in use
2019-08-31 14:39:51 -05:00
Sinan
1461c90bd1 new package: FANN (#12614) 2019-08-31 14:38:46 -05:00
Cameron Smith
9ce9d45aa7 Add int64 variant to pumi and zoltan (#12630)
* pumi and zoltan: add int64 variant

* typo
2019-08-31 14:28:56 -05:00
Sinan
7a60be5154 add variant for building RTREE module (#12668) 2019-08-31 14:12:20 -05:00