Commit graph

1794 commits

Author SHA1 Message Date
Luigi Calori
bf4d51ea0b fix error exit when doing spack patch without parameters, same as spack stage 2016-03-09 09:27:53 -08:00
Todd Gamblin
ca343889fc Merge pull request #517 from epfl-scitas/packages/petsc
Improved package : petsc
2016-03-09 08:39:41 -08:00
alalazo
24fe8699ea Merge branch 'develop' of https://github.com/LLNL/spack into packages/petsc 2016-03-09 14:37:14 +01:00
alalazo
f01d1c4385 petsc : added variants and logic to build various flavors 2016-03-09 14:36:37 +01:00
Todd Gamblin
9c61843737 Fix bugs in DIYStage: fetch & context handling.
- DIYStage needs to be a context handler
- DIYStage.fetch needs to take 2 args.
2016-03-08 13:58:41 -08:00
Todd Gamblin
df84677d16 Make diy generate verbose build output by default.
- added -q option to shut it up
2016-03-08 13:57:13 -08:00
Todd Gamblin
a1be45d0e7 Fix bug with setting module-scope vars in derived package classes. 2016-03-08 13:56:44 -08:00
Todd Gamblin
a4861a3072 Minor changes/bugfixes on md5/checksum PR 2016-03-08 10:39:46 -08:00
Todd Gamblin
747855b960 Merge branch 'fixes/md5' of git://github.com/epfl-scitas/spack into epfl-scitas-fixes/md5 2016-03-08 09:12:57 -08:00
Todd Gamblin
31cebb969a Merge pull request #504 from LLNL/bugfix/github-502
Bugfix/GitHub 502: Error: No spec file found at path
2016-03-08 03:43:52 -08:00
Todd Gamblin
214deeda54 Merge branch 'features/noexpand' into develop
Conflicts:
	lib/spack/llnl/util/filesystem.py
2016-03-08 03:29:57 -08:00
Todd Gamblin
5aadb6df19 Fixes #502. Create install prefix before build, clean up do_install.
- Fix bug introduced during merge of stage refactor.
  - install prefix was not created before build_environment.fork()
    - build_environment.fork() calls setup_dependent_environment
    - python's setup_dependent_environment can inadvertently create
      the install prefix before directory_layout expects it.

- Clean up Package.do_install:
  - simplify control flow: parent process now entirely responsible for
    creating/destroying the install prefix. cleanup is now in one place.
  - Hoisting cleanup out of the child improves nesting of try/catch in
    `real_work`.
  - `real_work` renamed to `build_process`
2016-03-08 02:50:26 -08:00
Todd Gamblin
18ce5ccf8f Avoid race in pango's make install, set parallel=False 2016-03-08 02:49:11 -08:00
alalazo
77ec27c730 fixed bug : similar issues in checksum and md5 as were solved in ad103dcafa 2016-03-08 11:09:41 +01:00
Todd Gamblin
96e1b2d25c Merge pull request #486 from RemoteConnectionManager/paraview_fix
Paraview new version
2016-03-07 02:48:12 -08:00
Todd Gamblin
bff7107f56 Merge pull request #491 from citibeth/efischer/160229-NewPackages-2
(2) New packages added: blitz, netcdf-cxx4, netcdf-fortran, proj, udunits2
2016-03-07 02:45:37 -08:00
Todd Gamblin
4d1703fc06 Merge branch 'features/repos-doc-fix' into develop 2016-03-07 02:40:59 -08:00
Todd Gamblin
12ddf241a5 Fix code block in docs. 2016-03-07 02:39:14 -08:00
Todd Gamblin
547933e7e4 Fix bug in -Xlinker argument handling
- also update test to match.
2016-03-07 01:48:26 -08:00
Todd Gamblin
f2bcc6cc35 Merge branch 'eschnett/rpath-comma' of git://github.com/eschnett/spack into eschnett-eschnett/rpath-comma 2016-03-06 23:50:14 -08:00
Todd Gamblin
153841f91a Merge pull request #500 from eschnett/eschnett/openssl-update
Update OpenSSL to 1.0.2g
2016-03-06 21:30:38 -08:00
Erik Schnetter
a399451e1e Update OpenSSL to 1.0.2g 2016-03-06 23:34:48 -05:00
Erik Schnetter
265ef337a8 Don't quote -rpath literal 2016-03-06 23:27:30 -05:00
Todd Gamblin
108277fb5d Fix docs that have gone stale since repos were added. 2016-03-06 19:32:00 -08:00
Todd Gamblin
ada675dea2 Merge branch 'features/sbang' into develop
Conflicts:
	lib/spack/llnl/util/filesystem.py
2016-03-06 19:30:19 -08:00
Todd Gamblin
1ee90a6fe7 Make spack_cc, spack_cxx, spack_f77, spack_fc available in build env.
- Add for convenience for packages that need to refer to these.
- Added an example in the documentation.
2016-03-06 16:57:30 -08:00
Todd Gamblin
240ada5775 Add expand=False option for URL downloads.
- Allows skipping the expand step for downloads.
  - Fixed stage so that it knows expansion didn't fail when there is a
    no-expand URLFetchStrategy.

- Updated docs to reflect new option, and provided an example.
2016-03-06 16:51:09 -08:00
Todd Gamblin
e515042a36 Fix stage creation bug, simplify do_install code. 2016-03-06 01:41:48 -08:00
citibeth
ae87948a23 Fixed URLs
Removed vestigal mpi variant in netcdf-fortran
2016-03-05 23:05:45 -05:00
Todd Gamblin
ad103dcafa Small refactor: add keep parameter to stage, get rid of stage.destroy call.
- package.py uses context manager more effectively.

- Stage.__init__ has easier to understand method signature now.
  - keep can be used to override the default behavior either to keep
    the stage ALL the time or to delete the stage ALL the time.
2016-03-05 20:00:30 -08:00
Todd Gamblin
14d48eba46 Revert c5d9ee8924 for bug fixes.
- This reverts commit c5d9ee8924.

- merged too soon before
- reverting and fixing bugs now.

Conflicts:
	lib/spack/spack/mirror.py
	lib/spack/spack/package.py
2016-03-05 18:40:28 -08:00
Todd Gamblin
c59546fae0 Merge branch 'adamjstewart-features/libsigsegv' into develop 2016-03-05 15:15:08 -08:00
Todd Gamblin
7d847f4dc4 Minor tweaks to m4 -- be sure to add sigsegv args explicitly. 2016-03-05 15:14:21 -08:00
Todd Gamblin
07255da6e9 Merge branch 'features/libsigsegv' of https://github.com/adamjstewart/spack into adamjstewart-features/libsigsegv 2016-03-05 15:06:49 -08:00
Adam J. Stewart
220b6a9fee Make libsigsegv an optional dependency 2016-03-05 16:46:32 -06:00
Todd Gamblin
24f0757d82 Merge pull request #343 from adamjstewart/features/mpc
Add different URL for older source code
2016-03-05 14:37:43 -08:00
Todd Gamblin
3dd630d0a5 Make openssl a variant in libevent. 2016-03-05 14:33:23 -08:00
Todd Gamblin
0b864aacdc Merge branch 'eschnett/libevent' of https://github.com/eschnett/spack into eschnett-eschnett/libevent 2016-03-05 14:23:06 -08:00
Todd Gamblin
ac67f3b53e Merge pull request #487 from spakin/llvm-3.7.1
Added LLVM 3.7.1 support
2016-03-05 14:19:31 -08:00
Todd Gamblin
097df180e2 Merge pull request #493 from adamjstewart/features/pgi
Modifications to get PGI working
2016-03-05 14:19:15 -08:00
Todd Gamblin
a9d7135c19 Merge pull request #495 from alfredo-gimenez/develop
Fixed unmatched function signature for do_fetch in jdk package
2016-03-05 14:16:09 -08:00
Todd Gamblin
bfce2c7508 Fix bug in hook: ensure bin directory exists before listing. 2016-03-05 04:42:52 -08:00
Todd Gamblin
fc6aa7374a Fix #104, #54: issues with overlong shebang in deep directories.
This does several things:

- Add `sbang`: a script to run scripts with long shebang lines.
  - Documentation for `sbang` is in `bin/sbang`.

- Add an `sbang` hook that filters the `bin` directory after install
  and modifies any scripts wtih shebangs that are too long to use
  `sbang` instead.

- `sbang` is at the top level, so it should be runnable (not much we
  can do if spack itself is too deep for shebang)
  - `sbang`, when used as the interpreter, runs the *second* shebang
    line it finds in a script.
  - shoud fix issues with too long shebang paths.
2016-03-05 04:18:48 -08:00
Todd Gamblin
8d2538f205 Merge pull request #496 from LLNL/features/zfp
Adding zfp package.
2016-03-04 17:11:04 -08:00
Mark Miller
f663d37da7 Adding zfp package. 2016-03-04 17:08:11 -08:00
Alfredo Gimenez
f90eaa5f46 Fixed unmatched function signature for do_fetch in jdk package 2016-03-04 14:53:08 -08:00
becker33
6449e8b1b9 Merge pull request #492 from adamjstewart/typos/compiler
Typo fix in compiler docstring
2016-03-04 14:25:56 -08:00
Adam J. Stewart
a7b918837e GNU m4 depends on libsigsegv 2016-03-04 15:22:28 -06:00
Todd Gamblin
dce691e15d Merge pull request #489 from citibeth/efischer/160303-RemovePeriods
Removed periods.  Should help use of cut'n'paste from console windows.
2016-03-04 09:09:26 -08:00
Elizabeth Fischer
648d08eb30 Update package.py
Updated homepage URL to general NetCDF homepage.
2016-03-04 12:05:43 -05:00