Ivan Tubert-Brohman
9a7381b20e
No-op in netcache run/post_run if nocache is true
...
When a task class has a true value for the nocache attribute,
setup_nocache doesn't decorate the run() and post_run() methods of the
class. In most cases, however, that's not enough to disable caching
because the base Task class is still modified; any class based on Task
which doesn't override these methods will still use caching even if it
sets nocache to True. This is solved by having the decorated versions of
run() and post_run() do nothing except call the original version of the
method when the task object has a true value for self.nocache.
2016-01-25 20:40:52 +01:00
Ivan Tubert-Brohman
2a7e0de018
Do chmod in netcache post_run
...
This ensures that, for example, executable files that are fetched from
the cache end up with the right permissions.
2016-01-25 20:21:15 +01:00
Haakon Sporsheim
f9e78b0225
c_config: Add xtensa as a known CPU.
2016-01-21 22:53:08 +01:00
Thomas Nagy
cbaab2f1b0
Circular dependencies may require passing the same library several times to the linker
2016-01-20 17:40:08 +01:00
Thomas Nagy
aac6e800eb
Import libraries for Intel Fortran
2016-01-20 00:12:42 +01:00
Thomas Nagy
872f77f8b5
Build fcprogram_test with Intel compiler
2016-01-19 21:08:48 +01:00
Harald Klimach
d00b90986c
Set FC_NAME also in find_ifort_win32.
2016-01-18 21:57:01 +01:00
Thomas Nagy
22e150e0cb
conf.check(..., comment='some text') to help with large config.h files
2016-01-17 17:02:10 +01:00
Thomas Nagy
05a15b229e
Code cleanup
2016-01-17 14:32:23 +01:00
Thomas Nagy
8ffbb6db0a
Code cleanup
2016-01-17 14:25:57 +01:00
Thomas Nagy
139b3f7a05
Unused variable LINK
2016-01-17 03:55:19 +01:00
Thomas Nagy
e91fbe2d1b
Intel Fortran manifest files
2016-01-17 03:27:30 +01:00
Thomas Nagy
66009e5777
Intel Fortran detection on Windows
2016-01-17 02:30:41 +01:00
Thomas Nagy
7a93e7e443
Added the windows Intel Fortran flags from Harald's branch
2016-01-16 22:50:14 +01:00
Thomas Nagy
101dc83283
Detect newer sun compilers Issue 1686
2016-01-16 21:18:08 +01:00
Thomas Nagy
a167bcce5f
Better error message
2016-01-15 23:53:17 +01:00
Bálint Aradi
d1ebc6f308
Fixing version flag for NAG compiler.
2016-01-15 00:14:37 +01:00
Thomas Nagy
adc1ce1375
Simplification: added Task.get_cwd()
2016-01-11 05:25:46 +01:00
Thomas Nagy
85157243c4
Version number for waf 1.9
2016-01-11 03:20:07 +01:00
Thomas Nagy
c016a5761e
Missing variable dependency in compile_fun_shell for
2016-01-11 03:10:50 +01:00
Thomas Nagy
331dd9f96c
Commands executed without a shell will merge flags of the form
2016-01-06 17:53:55 +01:00
Thomas Nagy
d23490287a
Code simplifications - use enumerate
2016-01-06 14:53:18 +01:00
Harald Klimach
7541929609
Do not set the ARFLAGS unconditionally to rcs for ifort.
...
Instead, try invoke search for ar after looking for xiar.
2016-01-06 12:38:31 +01:00
Thomas Nagy
3430e18205
New option in waf_unit_tests --clear-failed - Issue 1678
2016-01-05 15:20:56 +01:00
Thomas Nagy
69e51290fd
Made this project build on Linux
2016-01-03 06:54:21 +01:00
Thomas Nagy
8083205b81
Additional merges from #1666
2016-01-03 05:08:10 +01:00
Thomas Nagy
43e26b5bef
cwd must be a Node object
2016-01-02 01:54:52 +01:00
Thomas Nagy
7b26ce74d1
Updated the cwd logic in glib2.py
2016-01-02 01:37:20 +01:00
Thomas Nagy
e36420d68b
No chmod value for symlink_as at this time
2016-01-02 01:10:08 +01:00
Thomas Nagy
017d7a6257
Typo
2016-01-02 01:04:08 +01:00
Thomas Nagy
da97d28d18
Fixed undefined variables
2016-01-02 00:58:38 +01:00
Thomas Nagy
a3e014b0ae
Enable lazy Visual Studio detection by default
2015-12-25 19:28:29 +01:00
Thomas Nagy
4111d559b4
docs
2015-12-25 18:06:18 +01:00
Thomas Nagy
f73d3f1a2f
Misleading attribute never_skip, replaced by always_run
2015-12-25 17:54:10 +01:00
Thomas Nagy
6aa1c74798
docs
2015-12-25 17:54:07 +01:00
Thomas Nagy
ad2f3d420c
Setting node signatures clears cached values if present
2015-12-25 17:54:02 +01:00
Thomas Nagy
4fdd8a520d
Task cwd must be a node object
2015-12-24 23:10:56 +01:00
Thomas Nagy
8d3111235f
Try to de-duplicate environment-provided flags such as CFLAGS or LINKFLAGS
2015-12-24 22:52:19 +01:00
Thomas Nagy
d1fdf2f16a
Removed the default include paths that were always added to vala
2015-12-24 22:49:22 +01:00
Thomas Nagy
2d36bfe7ff
Removed the unused 'dummy' function from fc.py
2015-12-24 22:46:27 +01:00
Thomas Nagy
96a4487a57
New option to install files when symlinks are not possible
2015-12-24 22:45:27 +01:00
Thomas Nagy
5a3a89b4de
Stop adding incompatible task data into the same dict objects
2015-12-24 18:36:48 +01:00
Thomas Nagy
6648d3e6e7
Docs
2015-12-24 18:36:45 +01:00
Thomas Nagy
06c7c09681
Provide node.exists() to increase filesystem abstraction
2015-12-24 18:36:42 +01:00
Thomas Nagy
72fda8ae36
Reduce the size of the build pickle file
2015-12-24 18:36:38 +01:00
Thomas Nagy
ddaf29b78d
Process CPPFLAGS at the end of commands
2015-12-23 19:26:34 +01:00
Thomas Nagy
281148b8eb
Removed the old __eq__ and __hash__ which are not useful anymore in recent interpreters
2015-12-23 19:16:31 +01:00
Thomas Nagy
e365a30215
Cache file hashes for performance reasons
2015-12-23 18:23:14 +01:00
Thomas Nagy
7681bddfb7
Remove Node.sig and Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
db31168eb6
New class attribute Task.never_skip to enable tasks to be always executed (the class decorator will be phased out)
2015-12-23 17:55:44 +01:00