Erik Schnetter
265ef337a8
Don't quote -rpath literal
2016-03-06 23:27:30 -05:00
Adam J. Stewart
311d71ec86
Modifications to get PGI working
2016-03-03 16:50:51 -06:00
Adam J. Stewart
a9f0b98d4d
Typo fix
2016-03-01 15:53:53 -06:00
alalazo
5ce97eeda5
intel : polished code
2016-02-24 09:17:04 +01:00
Massimiliano Culpo
4316f1cd31
Modified wrapper to have a different behavior when modeis vcheck
2016-02-23 16:57:19 +01:00
Erik Schnetter
9868333e8e
Shell quoting is difficult
2016-02-14 11:34:08 -05:00
Erik Schnetter
a06e29fecb
More quoting experiments
2016-02-14 10:43:55 -05:00
Erik Schnetter
43670cbbd0
More games with quoting
2016-02-13 22:01:36 -05:00
Erik Schnetter
52647b9a5d
Using regexes instead of globbing to match path names
2016-02-13 17:55:14 -05:00
Erik Schnetter
69064395eb
Add debug output
2016-02-13 15:12:09 -05:00
Erik Schnetter
9a2c1090a6
Handle -Wl,-rpath,... syntax
2016-02-13 14:54:18 -05:00
Erik Schnetter
dc6a33b716
Handle multiple -Wl,-rpath,... paths
2016-02-13 14:54:18 -05:00
Erik Schnetter
ff81aff254
Remove source-code optimization and cleanup
2016-02-12 13:05:42 -05:00
Erik Schnetter
64436e7752
Merge branch 'develop' into correct-cc
2016-02-12 12:55:26 -05:00
Adam J. Stewart
f9fbb57d31
Add NAG Fortran Compiler support
2016-01-13 12:32:04 -06:00
Gregory Becker
528f9cd583
Implemented flags as lists for subsetting
2016-01-12 15:22:15 -08:00
Erik Schnetter
3427174eb0
Correct quoting
2015-12-22 15:49:14 -05:00
Erik Schnetter
611537eaed
Merge branch 'develop' into correct-cc
2015-12-21 13:18:35 -05:00
Erik Schnetter
ba22fc8b78
Simplify Spack cc script
2015-12-21 10:21:33 -05:00
Todd Gamblin
7cc4d88726
Fix #254 : libtool & distutils want certain compiler names.
...
This changes the compiler wrappers so that they are called by the same
name as the wrapped compiler. Many builds make assumptions about
compiler names, and we need the spack compilers to be recognizable so
that build systems will get their flags right.
This adds per-compiler subdirectories to lib/spack/spack/env directory
that contain symlinks to cc for the C, C++, F77, and F90
compilers. The build now sets CC, CXX, F77, and F90 to point to these
links instead of to the generically named cc, c++, f77, and f90
wrappers.
2015-12-19 02:06:47 -08:00
Erik Schnetter
5d61888657
Correct Spack cc script
2015-12-17 10:13:39 -05:00
Todd Gamblin
c41b9b7ddc
Change github.com/scalability-llnl to github.com/llnl everywhere.
2015-12-09 01:24:15 -08:00
Gregory Becker
2d77173dfa
partial commit of cflags for debugging
2015-11-10 15:45:22 -08:00
Gregory Becker
f9c8c4d216
partial commit to merge database
2015-11-10 15:40:00 -08:00
Gregory Becker
4ed22ad932
partial commit of cflags work
2015-11-10 15:39:27 -08:00
François Bissey
3cfbc0520a
Basic support for IBM XL compilers
2015-05-07 01:54:18 -05:00
Matthew LeGendre
a4cce9eb69
Only convert -L<path> to -Wl,-rpath,<path> in compiler scripts if <path> points into the spack install area
...
This specifically fixes problems with building gcc, as build and system directories were turning in in gcc library rpaths.
2015-03-27 13:58:57 -07:00
Todd Gamblin
57076f6ca4
URL parsing improvements
2014-11-08 11:42:54 -08:00
Todd Gamblin
0f3b80cddb
Fix for SPACK-11: Spack compiler wrapper is now in bash.
...
- Startup is much faster
- Added test for compiler wrapper parsing.
- Removed old compilation module that had to be imported by old cc.
- Removed cc from python version checks now that it's bash.
2014-11-03 14:12:16 -08:00
Todd Gamblin
7082b0a59a
cc supports Python 2.6
2014-08-10 18:07:20 -07:00
Todd Gamblin
5f8724650a
Fix for SPACK-35: Fortran not working properly
...
- Spack needed symlinks in env for fortran compilers.
- 'fc' is a bash bulitin, so can't use it for fortran compiler.
- switched to 'f90' for this.
- mpich 3 builds with fortran now.
- enabled shared libs in mpich package
2014-07-09 01:28:23 -07:00
Todd Gamblin
3653cfe6f0
Compiler support now uses configuration files.
...
- no more need for compiler python files.
- Default compilers are found in user's environment and added
to ~/.spackconfig automatically
- User can add new compilers by editing configuration file
2014-06-22 12:50:34 -07:00
Todd Gamblin
f784757113
Initial ability to swap compilers.
...
Fixes SPACK-16 and forces compiler script to build using compiler wrappers.
- works with gcc and clang on laptop.
2014-06-22 12:49:34 -07:00
Todd Gamblin
554ae9b355
bugfix for SPACK-20: add dependency bin directories to PATH
...
- Consolidated build environment stuff from package.py into
build_environment.py
- package.py calls build_environment.py functions just before calling
install(), in do_install()
- Organization is better b/c SPACK_xxxx environment variables are now
in build_environment, the only place they're used. Were previously
cluttering globals.py.
2014-04-15 22:45:34 -07:00
Todd Gamblin
a3beb688e1
Merge branch 'spindle' into next
...
- Fixed conflicting changes to env/cc
- TODO: get rid of small hack in cc for machines with no CC
2014-03-15 13:08:20 -07:00
Todd Gamblin
bb00f2a7a0
Merge branch 'stat' into next
2014-03-15 12:57:41 -07:00
Todd Gamblin
9d01df9e8a
Moving utilities to a common LLNL package.
2014-03-14 16:21:15 -07:00
Matthew LeGendre
40cda9fa9c
Fix issue when compiler wrappers ran gcc -V
2014-03-14 11:22:09 -07:00
Gregory L. Lee
f1f5a5a0bf
workarounds for bugs
2014-03-14 08:42:08 -07:00
Todd Gamblin
5c761aafab
Add checks for version 2.7
2013-06-02 13:54:46 -07:00
Todd Gamblin
fb172bc702
Added libunwind and fixed link issues in cc.
2013-02-20 15:22:00 -08:00
Todd Gamblin
48b0351945
Fixed passing of dependence prefixes to cc. libdwarf works.
2013-02-19 19:26:54 -08:00
Todd Gamblin
d534c539d4
Fixes, remove parallel build for libdwarf due to race case.
2013-02-19 17:08:38 -08:00
Todd Gamblin
7d9d4f3484
rpaths for dependencies. elf, dwarf, cmake build on Linux
2013-02-19 01:20:50 -08:00
Todd Gamblin
38becacace
Dependencies now work. Added libelf, libdwarf.
2013-02-18 23:46:04 -08:00