2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-01 22:40:46 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
Thomas Nagy
4d7527b4c4 Clarify the exception type raised by cmd_and_log 2017-06-20 11:20:53 +02:00
Thomas Nagy
758d520e90 Fix the docstring of find_file #1980 2017-06-08 14:21:45 +02:00
Thomas Nagy
5ac6123e5e
Cleanup: Break multiple statements on multiple lines 2017-04-17 13:16:57 +02:00
Thomas Nagy
f060b33e59
Obtain NO_LOCK_IN_TOP/RUN/OUT from os.environ too 2017-04-14 22:04:57 +02:00
Thomas Nagy
4c9ee84194
Ignore empty environment variables in find_program 2017-04-10 20:40:07 +02:00
Thomas Nagy
37af78a02b
Obtain run_build_cls from run_build/check parameters 2017-03-04 08:22:18 +01:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017 2017-02-11 16:13:37 +01:00
Thomas Nagy
12b038833e
docs 2017-01-06 23:15:53 +01:00
Thomas Nagy
86e9b6b959
Set the configuration test build class on conf.run_build_cls 2016-09-10 12:12:46 +02:00
Thomas Nagy
850e9ad5fc
Simplify env['FOO'] -> env.FOO 2016-06-25 23:54:12 +02:00
Thomas Nagy
ef48d49260
Remove update_outputs from the documentation 2016-06-25 22:48:47 +02:00
Thomas Nagy
ef6525c0bf
Api docs 2016-06-25 14:49:27 +02:00
Thomas Nagy
8120504156
Restore configuration values with Configure.autoconfig='clobber' #1758 2016-06-18 01:06:23 +02:00
Thomas Nagy
e8ef5a89eb
More cleanup 2016-06-05 00:23:57 +02:00
Thomas Nagy
062a5263a0
Update conf.check_waf_version to 1.9 2016-06-04 09:33:13 +02:00
Thomas Nagy
3fb226c994
Use the build command in configuration tests (hard-coded BuildContext class) 2016-05-06 20:57:53 +02:00
Thomas Nagy
8520dd65bb
Code cleanup 2016-04-19 22:00:21 +02:00
Thomas Nagy
d54622e341
Simplification: remove Configure.err_handler 2016-03-18 19:54:31 +01:00
Thomas Nagy
42622a6e52
Do not cache Waf tools in configure 2016-03-07 23:38:14 +01:00
Thomas Nagy
df8e144631 Smarter detection of programs passed to the command-line 2016-02-23 22:59:29 +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
ita1024
2855dd2411 Merge pull request #1652 from mimon/find_file-fix
Enable usage of home folder/tilde ~ in Configure.find_files
2015-11-08 00:40:06 +01:00
Simon
842bd28c0d Changed so that calling expanduser after joining the paths in Configure.find_files 2015-11-07 22:01:37 +01:00
Thomas Nagy
c5b1aa4a33
Decorators @conf and @run_once must provide function wrappers having the same names as the original
The following will now work; mind the order of the wrappers:

@Configure.conf
@Utils.run_once
def print_it(self):
     print('hello')

def configure(ctx):
    ctx.print_it()
    ctx.print_it()
2015-11-05 02:01:32 +01:00
Simon
921483b335 Enabled usage of home folder/tilde ~ in Configure.find_files 2015-10-30 01:00:33 +01:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Thomas Nagy
78403e3fbc
Enable relative paths to be processed in the --top and --out options 2015-10-10 17:05:13 +02:00
Thomas Nagy
34c6ee8c0e
loadFromSysPath -> with_sys_path 2015-08-28 22:43:38 +02:00
Nikolaus Lieb
b22118a2de Add an option to skip searching the regular sys.path when loading waf tools.
Granting this control allows the avoidance of issues such as accidentally
loading the "cython" module from from Cython itself, rather than the
"cython" waf tool.
Conflicts:
	waflib/Configure.py
	waflib/Context.py
2015-07-28 16:47:35 +08:00
Nikolaus Lieb
9fc9464238 Add tooldir to cache-check on loading module in Configure context. 2015-06-10 21:44:37 +08:00
Thomas Nagy
f048d6d20f
Do not duplicate flags from the OS environment - https://github.com/waf-project/waf/issues/1574 2015-05-16 14:26:43 +02:00
Thomas Nagy
9fdfec763d
provide --no-lock-in-top and --no-lock-in-run for packagers 2015-05-02 17:13:00 +02:00
Thomas Nagy
c4e25382cd
Regression on windows caused by r823b4cd2dc03d06a81e0ab003606067da03d8745 (default bindir and libdir) 2015-02-23 17:03:48 +01:00
Thomas Nagy
823b4cd2dc
Issue 1536 - default 64 suffix for Redhat systems 2015-02-19 13:46:18 +01:00
Thomas Nagy
c427ab45af
Issue 1392 - extras/use_config.py 2014-09-21 20:50:43 +02:00
Thomas Nagy
74b5ffc153
Issue 1173 - resolve symlinks to the build directory 2014-09-20 13:46:11 +02:00
Thomas Nagy
d491de7486
conf.check generalization using arbitrary build functions 2014-09-14 10:58:29 +02:00
Thomas Nagy
6ffde12338
Use os.path.join to enable builds from drive letters X:\ 2014-08-30 13:05:46 +02:00
Thomas Nagy
3ee08a88f4
Issue 1451 2014-06-08 17:34:35 +02:00
Thomas Nagy
7cc366513f
fixed the case: CC='ccache gcc' waf configure build 2014-04-07 22:10:56 +02:00
Thomas Nagy
8faafeb913 Issue 1276 - suppress configuration outputs 2014-02-02 04:04:21 +01:00
Thomas Nagy
e085c8d25d Moved the find_binary function into a replaceable method 2014-02-01 14:13:16 +01:00
Krzysztof Kosiński
e4afaa957e Update default compilers in compiler_c and compiler_cxx
to include the clang tools
2014-01-25 22:12:29 +01:00
Krzysztof Kosiński
30bdee769b Clean up some cruft in the compiler tools (icc, icpc, gxx) 2014-01-25 20:59:14 +01:00
Krzysztof Kosiński
80b831a958 Improvements to conf.find_program()
1. When using a relative name passed through the environment,
search for it in PATH rather than using it as-is.
This is better, because PATH could have been changed.

2. Do not search for absolute paths in PATH.
2014-01-25 20:28:30 +01:00
Thomas Nagy
6fb96036f0 Issue 1382, hash randomization on python 3.3 causes reconfigurations 2013-11-28 20:00:50 +01:00
Thomas Nagy
2f43179c39 1.7 -> 1.8 2013-10-28 21:32:25 +01:00
Jérôme Carretero
5064fd92ef always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
Alexander Afanasyev
9b75b843ae Tools/python: Extending python tool
add: show more command-line arguments to control which
     python is used and where py/pyext files should be installed.
     The new options are in addition to the existing PYTHON, PYTHONDIR,
     and PYTHONARCHDIR environment variable, providing the help messages
     to the user, so it can easily change parameters without second-guessing
     of what are they.

     Environmental parameters override command line arguments (is it right?)

updated: An extension to Configure.find_command to allow specification
         of the name for the searched command (using `msg` option). This is
         helpful when the search command is a huge list, as in the case of
         python's python-config case.

updated: Do not specify prefix for `get_python_lib`, since this way it
         can result in a wrong PYTHONDIR and PYTHONARCHDIR on certain platforms
         (e.g., OSX)

updated: Changing logic with byte-compilation of python files. Mow, files are
         compiled during the build stage, not install stage.  During the
         install stage files are simply copied to the requested
         location.

updated: If there is an error in python source code, byte-compilation
         phase will raise an exception and abort building process.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-17 18:15:05 +02:00
Thomas Nagy
0d6cd93f95 empty --prefix 2012-09-29 17:32:46 +02:00