2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-10 20:29:10 +01:00
Commit Graph

3227 Commits

Author SHA1 Message Date
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
swaldhoer
974d0589fd Minor docs improvement 2024-03-29 12:02:50 +01:00
Waf Project
39413bedfd Update playground/ldscript 2024-03-28 16:47:29 +01:00
Waf Project
aef2c6ef23 Remove old Itanium references in msvc/ifort detection 2024-03-23 10:59:16 +01:00
Waf Project
456bd879bc Change _add_task to add_task in Runner.py 2024-03-23 10:58:59 +01:00
Waf Project
707b362685 Add the script path to OneApi Fortran compilers 2024-03-23 10:55:08 +01:00
6e675dfc30 Configure: remove unused error_handlers
ConfigurationContext's error_handlers isn't used anywhere in the whole project,
and it's unknown how it should've been implemented
2024-03-09 12:21:02 +01:00
Waf Project
d166646556 Reduce verbosity when both Qt5 and Qt6 are installed on a system
See aff9ec24a6
2024-03-09 12:16:56 +01:00
Federico Pellegrin
a0b8f6a2a3 qt5: Revert pattern matching libraries as that breaks libs like QtX3D 2024-03-09 11:10:48 +01:00
Waf Project
761ed9beda Describe why color_gcc.py is no longer relevant 2024-03-09 11:10:41 +01:00