Gregory Becker
566fec4015
Fixed variants in new format and removed print statements from debugging
2016-05-11 14:56:41 -07:00
Adam J. Stewart
4473311bdb
Allow compilers to specify their own rpath linking flags
2016-05-09 16:59:39 -05:00
Todd Gamblin
7151fd8836
Restore cc
from mainline; clean up some cflags stuff.
2016-05-09 03:37:27 -07:00
Todd Gamblin
9fb1a9537d
Merge branch 'develop' into features/cflags
2016-05-05 10:49:15 -07:00
Gregory Becker
ae5198e5e7
Merged in current develop to cflags 042716
2016-04-27 19:38:51 -07:00
Patrick Gartung
d5d1e89cbd
remove use of unknown environment variable in lib/spack/env/cc ( #821 )
2016-04-21 19:15:54 -07:00
Erik Schnetter
4ce03b75bc
Correct typo
2016-04-05 07:42:23 -04:00
Erik Schnetter
0ff059e388
Clean up comments and output messages
2016-04-04 16:00:09 -04:00
Erik Schnetter
83d6e04d39
Convert =
to ==
in tests; untabify
2016-04-04 15:38:21 -04:00
Erik Schnetter
7bc28cc334
Clean up cc script
2016-04-04 14:33:48 -04:00
Todd Gamblin
f80e839ff4
Handle Darwin's ld -r option properly
...
- ld -r doesn't work with RPATH on OS X.
- for GNU ld, the -r option only means 'relocatable',
and doesn't affect RPATH.
- This adds special handling to omit RPATHs for ld -r on OS X
2016-03-29 03:14:39 -07:00
Todd Gamblin
a14527ec06
Add command to compiler input log.
2016-03-28 15:34:25 -07:00
Todd Gamblin
d8579a5b80
Simplify cc: Remove old logic and add better tests.
...
- removed a lot of old logic that was only still needed for tests.
- Added better unit tests for dependency RPATH, -L, and -I args
- tests now check whether the compiler omits -I args in link mode.
2016-03-28 04:11:54 -07:00
Todd Gamblin
f3dd889d44
Fix bug with lib64 RPATH setting in cc.
2016-03-28 03:51:05 -07:00
Erik Schnetter
f3ea0420f8
Import recent changes
2016-03-17 21:53:13 -04:00
Erik Schnetter
84b7cd593f
Merge branch 'develop' into correct-cc
...
# Conflicts:
# lib/spack/env/cc
2016-03-17 21:52:24 -04:00
alalazo
30adc4c9b8
cc : handle spaces in folders?
2016-03-10 14:59:31 +01:00
alalazo
78ef0618bc
cc : converted indents to spaces
2016-03-10 14:35:09 +01:00
Massimiliano Culpo
7ae6c62ddb
Fixed shell quoting error
2016-03-10 14:08:43 +01:00
Massimiliano Culpo
835b47c196
Merge branch 'develop' of https://github.com/LLNL/spack into fixes/intel_openmpi
2016-03-10 13:18:03 +01: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
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
e6aa2610bc
Add symlink for NAG Fortran Compiler
2016-01-19 13:07:07 -06: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