Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase on waf 2.0.27 #1

Open
wants to merge 1,933 commits into
base: master
Choose a base branch
from
Open

rebase on waf 2.0.27 #1

wants to merge 1,933 commits into from

Conversation

tridge
Copy link

@tridge tridge commented Apr 25, 2024

this fixes support for python 3.12

ita1024 and others added 30 commits November 4, 2019 20:23
playground/swig: clean up java swig example

See merge request ita1024/waf!2263
msvc_pdb: check compiled_tasks existence, so it will not misleadingly throw a stacktrace if no sources was added

See merge request ita1024/waf!2265
Tools/c_config.py: update to documentation

See merge request ita1024/waf!2266
Shared libraries often use a suffix encoding their version which should
be handled when parsing linker flags.
Support versioned shared libraries

See merge request ita1024/waf!2270
Make distclean target 'no_lock_in_top/run' modifiers compatible with env vars

See merge request ita1024/waf!2271
Fix detection of build context when a custom context is used

See merge request ita1024/waf!2274
variable x is used in the outer loop and gets corrupted by inner enumeration in case of non-jar dependency

to reproduce: use the demos/java and run waf build twice: the first time will work (since no class files around)
while the second will not since will by bad luck pick a class file in the inner loop
javaw: fix buglet overwrites working variable while adding dependencies

See merge request ita1024/waf!2275
Waf Project and others added 30 commits October 12, 2023 00:24
Pass the args parameter through to parse_cmd_args

See merge request ita1024/waf!2359
Only detect binaries with execution permission

See merge request ita1024/waf!2349
The license is in waf-light, but some people really want to have a file for it.
- 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.
- 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().
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
we need to use relative paths and not use --enable-auto-import. The
relative paths are needed to keep paths within the severe path length
limitations of the cygwin cross-compiler for arm-none-eabi
Just convert the list by joining the elements with space. It may not be
perfect since it may explode in cases we have spaces, but it's better
than giving a list that you can't do anything with it.

By adding the error output as a command one can manually build that
single compilation unit to understand better the error and even switch
to another compile to get a better error message.
this fixes an issue with undeclared build products causing build
errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.