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

3236 Commits

Author SHA1 Message Date
Waf Project
8576f9745e Remove top/out/progress_bar options if necessary 2024-11-09 18:48:12 +08:00
Waf Project
22738deb0e Prevent pre-forked process to access the standard input of their parents 2024-11-09 17:18:45 +08:00
Waf Project
7af93bc8a3 Allow --ver option 2024-11-04 04:07:48 +08:00
Waf Project
d89cab923f
waf-2.1.3 2024-10-28 18:10:08 +01:00
Waf Project
ee9a11d51e Fix for truncated \UXXXXXXX escape 2024-10-29 00:35:37 +08:00
Waf Project
6ec62d9bbf Disable GX warnings when buildin Python modules with Microsoft Visual Studio
Python distutils add the GX flag by default but that was for very old systems
and ./Lib/distutils/msvccompiler.py was removed in Python 3.12
2024-10-28 23:35:33 +08:00
Waf Project
51159c17ab Disable preforked processes on mingw-python 2024-10-28 20:03:32 +08:00
Waf Project
4d97d3a264 Improve cuda detection logs 2024-10-24 02:17:12 +08:00
Federico Pellegrin
4356a0dfbe 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.
2024-10-24 02:08:12 +08:00
ita1024
788d397224 Merge branch 'master' into 'master'
Increase granularity in build log filename

See merge request ita1024/waf!2373
2024-08-14 20:00:08 +00:00
ita1024
caa7727568 Merge branch 'python_prefix_problem' into 'master'
python: use PREFIX in install directory if it is set

See merge request ita1024/waf!2374
2024-08-14 19:57:40 +00:00
Federico Pellegrin
fc7b01e694 python: use PREFIX in install directory if it is set
As a regression / misbehaviour compared to waf 2.0 when a Python
module is installed it seems that, even tho `PREFIX` is set for the whole
project, it is ignored.

In the past this was not ignored, namely:

```
(pydir,) = conf.get_python_variables(["get_python_lib(standard_lib=0, prefix=%r) or ''" % conf.env.PREFIX])
```

While with the current version we would always get (if not forced
with specific `PYTHONDIR` and `PYTHONARCHDIR`) the hardcoded path defined
at compilation time (`/usr/local/lib` in all cases I saw)

This patch takes this into account, using the user schema that permits to
customize the output passing the userbase variable, which is set to `PREFIX`
value indeed.

sysconfig.get_preferred_scheme('user') could give us the user schema, but
this is Python >= 3.10 only, so instead we construct the name manually
depending on the OS.
2024-08-14 06:05:53 +02:00
Waf Project
6253670a5e Update Configure.check_waf_version 2024-08-14 07:52:15 +08:00
ita1024
ce2a9907d8 Merge branch 'pyqt5_qt6_support' into 'master'
pyqt5: extend support to Qt6 (both PyQt6 and PySide6)

See merge request ita1024/waf!2375
2024-08-13 23:51:55 +00:00
Federico Pellegrin
7e12df33df pyqt5: extend support to Qt6 (both PyQt6 and PySide6) 2024-08-09 08:52:37 +02:00
Andrew Malachowski
e93f468355 Increase granularity in build log filename
Extend the build log filename to include seconds and microseconds
to reduce liklihood of name collision.
2024-08-02 10:17:08 -04:00
Waf Project
91e8dcb5d0
waf-2.1.2 2024-07-15 07:32:34 +08:00
Waf Project
8504c212ce Compel latex to operate upon updating environment variables 2024-07-15 07:21:02 +08:00
Waf Project
8971304c36 Another Python regression 2024-07-13 23:06:31 +08:00
Waf Project
c816802d87 Python/Msys2 regression #2440 2024-07-04 08:49:11 +02:00
ita1024
6595748b91 Merge branch 'flang' into 'master'
fc: add support for the flang compiler

See merge request ita1024/waf!2372
2024-05-30 23:34:51 +00:00
Harald Klimach
b5a6e58934 fc: add support for the flang compiler 2024-05-30 17:14:45 +02:00
ita1024
7c0532a82d Merge branch 'master' into 'master'
Options: set argparse conflict_handler in constructor

See merge request ita1024/waf!2371
2024-05-26 07:55:05 +00:00
bba5047716 Options: set argparse conflict_handler in constructor 2024-05-26 07:55:05 +00:00
Waf Project
0c0f49ce6f Update playground/updates 2024-05-25 19:33:04 +08:00
ita1024
b2f89369fc Merge branch 'a1batross-master-patch-59640' into 'master'
softlink_libs.py: fix printing default option value with argparse

See merge request ita1024/waf!2370
2024-05-25 08:52:28 +00:00
b94ec720d9 softlink_libs.py: fix printing default option value with argparse
As per argparse documentation
2024-05-25 01:39:55 +00:00
Waf Project
0d2f819d1e
waf-2.1.1 2024-05-21 20:52:15 +02:00
Waf Project
bdd70055df Due to arparse, Python >= 2.7 is now required 2024-05-21 20:36:19 +02:00
Waf Project
b47fceb86a Update more examples 2024-05-21 20:35:25 +02:00
Waf Project
69049d83b8 Update the javatest example 2024-05-20 23:45:39 +02:00
Waf Project
8d2ad010f5 Update the pyqt example 2024-05-20 23:37:27 +02:00
Waf Project
72db8e0240 Update the protobuf example 2024-05-20 23:24:32 +02:00
Waf Project
2485ab46cd Update the build file tracker example 2024-05-20 23:12:43 +02:00
Waf Project
68f84f9084 Fix the example in playground/rst 2024-05-20 21:04:25 +02:00
Waf Project
43c5ae670a Remove old broken examples 2024-05-19 15:59:06 +02:00
Waf Project
8a0ecaef5f Update another example 2024-05-19 15:28:36 +02:00
Waf Project
967abf694c Remove the dbus example since dbus-binding-tool is part of a deprecated library for D-Bus IPC 2024-05-19 12:46:04 +02:00
Waf Project
327471474f Options on the command-line should not raise conflicts by default 2024-05-19 12:44:53 +02:00
Waf Project
9ad45cb350 Update a few examples, and improve jni detection 2024-05-19 12:43:55 +02:00
Waf Project
149102f11f Argparse updates 2024-05-14 00:26:16 +02:00
Waf Project
4d0edd113a Print waf version 2024-05-12 02:20:25 +02:00
Waf Project
66a013ed28 waf-2.1.0
Signed-off-by: Waf Project <noreply@waf.io>
2024-05-02 00:03:48 +02:00
Waf Project
bd5c22d484 Move from optparse to argparse 2024-04-28 00:35:28 +02:00
Waf Project
a3fec9f0b3 Improve ldscript example 2024-04-21 06:59:27 +02:00
Waf Project
e0dcfae373 Update c_nec and c_emscripten 2024-04-16 00:25:45 +02:00
Waf Project
a7d05142c5 Update outdated playground examples 2024-04-07 19:34:00 +02:00
Waf Project
76f416ca14 Lock wafcache on non-posix systems 2024-04-01 17:02:15 +02:00
Waf Project
9f0773cfba Move wafcache optional imports 2024-04-01 11:18:07 +02:00
Waf Project
ec63a7dd38 Change _add_task to add_task in Runner.py - part 2 2024-04-01 09:35:13 +02:00