Commit Graph

2345 Commits

Author SHA1 Message Date
Waf Project 7a15d4c74c Add the script path to OneApi Fortran compilers 2024-03-20 01:26:26 +01:00
Thomas Nagy cd0c77725e
Waf 2.0.27 2024-03-10 12:45:17 +01:00
Waf Project 5014536f20 Reduce verbosity when both Qt5 and Qt6 are installed on a system
See aff9ec24a6
2024-03-09 12:15:00 +01:00
Federico Pellegrin aff9ec24a6 qt5: Revert pattern matching libraries as that breaks libs like QtX3D 2024-03-09 10:04:54 +00:00
Waf Project f95b42651e Describe why color_gcc.py is no longer relevant 2024-02-18 16:06:05 +01:00
Waf Project 65b96e1ddd Avoid coloring all MSVC logs #2366 2024-02-18 16:03:11 +01:00
ita1024 b11202c178 Merge branch 'master' into 'master'
Fix possible crash in ctx.cmd_and_log() when verbose mode is on (same as previous fix to exec_command)

See merge request ita1024/waf!2364
2024-01-12 13:26:57 +00:00
Waf Project a8b4a5ff17 Improve Qt6 detection with msvc 2024-01-12 14:09:49 +01:00
Waf Project 38966242f0 Typo 2024-01-12 14:07:30 +01:00
Wynn Wilkes 6730d9b140 Fix possible crash in ctx.cmd_and_log() when verbose mode is on
- When waf is run with -v, and it runs a call to context.cmd_and_log() with an argument list,
  argument[0] is a relative path, and a cwd **kwarg is passed so that the argument[0] resolves
  correctly, then the call will crash saying the program could not be found. For example, the
  caller may be wrapping calls using a nodejs environment like:

  ctx.cmd_and_log("./node_modules/bin/webpack", cwd="webui")

  and this will fail with "Program ./node_modules/.bin/webpack not found!"
  if waf is run with -v. The user friendly check for usable programs still
  stays in place for shell calls and absolute paths, but allows the caller
  to use this pattern even when verbose mode is on. This same fix was
  previously made for context.exec_command().
2024-01-10 08:40:07 -07:00
Waf Project a739525f3e Fix exec_command & waf -v & custom path in environment 2023-12-10 22:42:06 +01:00
Wynn Wilkes 9c1f2a0a33 Fix possible crash in ctx.exec_command() when verbose mode is on
- When waf is run with -v, and it runs a call to context.exec_command() with an argument list,
  argument[0] is a relative path, and a cwd **kwarg is passed so that the argument[0] resolves
  correctly, then the call will crash saying the program could not be found. For example, the
  caller may be wrapping calls using a nodejs environment like:

  ctx.exec_command("./node_modules/bin/webpack", cwd="webui")

  and this will fail with "Program ./node_modules/.bin/webpack not found!"
  if waf is run with -v. The user friendly check for usable programs still
  stays in place for shell calls and absolute paths, but allows the caller
  to use this pattern even when verbose mode is on.
2023-12-08 14:23:17 -07:00
Michael Vincent a495d9511b Improve msvc log output 2023-12-07 20:52:08 +00:00
Waf Project 8e13d1bb20 Switch to nonstopmode for latex prompts #2421 2023-12-07 21:13:00 +01:00
Waf Project 6a3e25f255 Fix Intel OneApi conf.check in C++ mode. 2023-10-31 23:49:55 +01:00
Waf Project 61ff2ac19c Fix loading both icc and icpc at the same time 2023-10-26 17:20:51 +02:00
Waf Project 3306d33352 Detect icx/icpx on Linux 2023-10-25 18:59:24 +02:00
Waf Project b49860a568 Improve iocx/icpx/icx-cl detection 2023-10-24 22:02:56 +02:00
Waf Project e98914bf74 Detect the new Intel compilers 2023-10-21 19:04:47 +02:00
Björn Lindqvist f3abad43cf glib-mkenums is a Python script no need to check for perl 2023-10-21 08:46:02 +00:00
ita1024 eeeb29d95b Merge branch 'fix-binary-executable' into 'master'
Only detect binaries with execution permission

See merge request ita1024/waf!2349
2023-10-21 08:02:18 +00:00
ita1024 831bde6365 Merge branch 'argument-parsing-fix' into 'master'
Pass the args parameter through to parse_cmd_args

See merge request ita1024/waf!2359
2023-10-17 22:14:14 +00:00
Waf Project 74b1e2396a Add macros for intel compiler detection (icx, icpx, ifx) 2023-10-12 00:24:17 +02:00
Björn Lindqvist ef9b2d3ecd Pass the args parameter through to parse_cmd_args 2023-09-27 01:59:34 +02:00
Waf Project 3f77e31de5 Detect new intel compilers (icx, icpx, ifx) 2023-09-22 00:09:45 +02:00
Waf Project fb6f0549c4 Update the example that cleans any non-declared file #2415 2023-09-15 18:38:15 +02:00
Waf Project ad7b733fc6
Waf 2.0.26 2023-08-12 03:20:31 +02:00
Rafaël Kooi def399e373 qt5: Add support for Qt6
Implements support for Qt6 by extending qt5.py. The user can opt in for
Qt6 support by setting cfg.want_qt6 = True. There's also a qt6 feature,
which at the moment is identical to the qt5 feature. Splitting has been
done now for futureproofing purposes. Qt6 libraries can be selected
through the cfg.qt6_vars variable. I didn't make an attempt at any
backwards compatibility by trying to load cfg.qt5_vars if it exists,
this is done so the move from Qt5 to Qt6 is a more deliberate process.

Signed-off-by: Rafaël Kooi <3961583-RA-Kooi@users.noreply.gitlab.com>
2023-07-15 15:34:01 +02:00
Adam Barton 2f36e89f25 Haxe Toolkit support 2023-07-15 15:33:25 +02:00
Federico Pellegrin b9d968a3be sphinx: put doctrees temporary directory out of destination dir
This prevents the doctrees cache being installed in the install
phase which is not desiderable. Each build has a private one,
since each is a separate task and otherwise we can have race
conditions.
2023-06-20 05:27:53 +02:00
ita1024 ee63711f97 Merge branch 'a1batross-master-patch-25634' into 'master'
waflib: extras: msvs: enclose solution path into doublequotes in generated shell commands

See merge request ita1024/waf!2353
2023-04-10 17:57:59 +00:00
Alibek Omarov 87566c681b waflib: extras: msvs: enclose solution path into doublequotes in generated shell commands 2023-04-10 17:35:21 +00:00
Thomas Nagy 0da14c8e7b Support SOURCE_DATE_EPOCH in some places 2023-02-12 10:35:27 +01:00
Thomas Nagy 39ef33e483 Waf 2.0.25 2023-01-01 14:21:19 +01:00
Thomas Nagy 2db0b41b28 Fix suspicious warnings 2023-01-01 14:03:01 +01:00
Thomas Nagy 46fe4bc658 Add asynchronous wafcache uploads 2023-01-01 13:51:21 +01:00
Thomas Nagy 46cd7934e6 Distutils removal in Python 3.12: set the correct Python arch dir 2022-12-31 10:32:05 +01:00
Thomas Nagy 6551dd04e4 Distutils removal in Python 3.12: set the correct Python arch dir 2022-12-31 09:53:59 +01:00
Thomas Nagy 84c26588fc Workaround for the distutils removal in Python 3.12 2022-12-22 18:51:25 +01:00
Dan Church 78a1de612e
Only detect binaries with execution permission
If for instance a program was in PATH and the file was marked
non-executable (`chmod -x`), `find_binary` it would still pick it up as
executable.
2022-12-21 13:19:00 -06:00
Harald Klimach f1956a0bb6 Adding an extra module to detect the Fujitsu Fortran compiler on ARM64FX. 2022-11-18 18:00:04 +01:00
Thomas Nagy 80c6808c0b Ensure find_program replaces more invalid characters 2022-10-05 22:46:12 +02:00
Thomas Nagy e94fac33e4 wafcache: skip uploads when inputs are modified while building 2022-10-02 01:24:29 +02:00
André Bauer 13bc8b4ee3 Fix typo in documentation. 2022-09-28 21:15:35 +02:00
Andrew Malachowski e236ef830d Improve cp65001 compat in cpython < 3.3 2022-09-01 21:39:45 +00:00
Federico Pellegrin c1a1a9fe50 sphinx: support multiple output formats 2022-09-01 19:42:54 +00:00
Andrew Malachowski 514ec749bb gccdeps: Harden class wrapping 2022-08-31 23:02:59 +00:00
Federico Pellegrin 2d27c346d8 pyqt5: improve autodetection of tools and add flag support
Improves autodetection by adding tool naming as found in some recent
distributions (ie. Fedora). Adds also possibility to pass via env
command line options to tools (needed ie. to explicitly pass
generator due to changes to uic/rcc tool).

Test updated to demonstrate and document the parameter needed to
work out of the box with newest tooling.
2022-06-08 08:11:20 +02:00
Thomas Nagy 15e04d7a7d Waf 2.0.24 2022-05-22 11:35:56 +02:00
Thomas Nagy 1af97c71f5 Sort visual studio versions by version number #2352 2022-05-22 11:25:33 +02:00