Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1933 commits
Select commit Hold shift + click to select a range
3a63ba9
Merge branch 'swig_java_pg_example' into 'master'
ita1024 Nov 4, 2019
0050190
Merge branch 'msvc_pdb_fix' into 'master'
ita1024 Nov 4, 2019
217b3fc
Tools/c_config.py: update to documentation
fedepell Nov 5, 2019
3226ab2
Merge branch 'chk_config_docs' into 'master'
ita1024 Nov 7, 2019
3ac0ff4
Ignore resource files
ita1024 Nov 8, 2019
0fca958
Normalize the indentation according to the rest of the project
ita1024 Nov 8, 2019
b0539ba
Simplify msvc_pdb.py
ita1024 Nov 8, 2019
8849fe0
Further simplifications
ita1024 Nov 8, 2019
b5173b0
Fix one more issue in msvc_pdb.py
ita1024 Nov 8, 2019
eaa1e37
Remove the dependency on Qt5Gui in the Qt5 detection
ita1024 Nov 10, 2019
5b82ba4
Fix relative path comparisons in clang_compilation_database
ita1024 Nov 10, 2019
3832f5c
Typo
ita1024 Nov 10, 2019
c0c4e29
Add back an accidentally deleted line clang_compilation_database.py
Nov 10, 2019
ec79cdf
Use task.get_cwd() in clang_compilation_database
ita1024 Nov 10, 2019
fb499f2
Improve the Qt5 fPIC/fPIE detection
ita1024 Nov 16, 2019
63935db
Support versioned shared libraries.
severinstrobl Nov 19, 2019
e834057
Merge branch 'versioned_so' into 'master'
ita1024 Nov 24, 2019
61ee22b
waf-2.0.19
ita1024 Nov 24, 2019
d000220
Update irixcc
ita1024 Nov 29, 2019
702870e
Remove conf.find_cpp from irix compiler detection
ita1024 Nov 29, 2019
89175bf
Make distclean target 'no_lock_in_top/run' modifiers compatible with …
Nov 28, 2019
ccd6bc4
Merge branch 'distclean_no_lock_env_vars' into 'master'
ita1024 Dec 5, 2019
f5a3984
Make multicheck collisions less likely
ita1024 Dec 14, 2019
23c5335
Fix detection of build context when a custom context is used
mortenvp Dec 18, 2019
62e2f7f
Exclude ConfigSet from altering ConfigurationContext.run_build caches…
ita1024 Dec 20, 2019
6467070
Using suggested self.cmd.startswith approach
mortenvp Jan 2, 2020
29af444
Merge branch 'fix-buildcontext-detection' into 'master'
ita1024 Jan 2, 2020
e32a6d4
javaw: fix buglet overwrites working variable while adding dependencies
fedepell Jan 4, 2020
f7962c5
javatest: add dependency management for jar/java taskgens
fedepell Jan 4, 2020
e17ac4d
Merge branch 'javatest-deps' into 'master'
ita1024 Jan 4, 2020
5f7924d
Merge branch 'javatest-deps2' into 'master'
ita1024 Jan 4, 2020
69e1290
doxygen: add ext_int to force build ordering
fedepell Feb 17, 2020
780a2ab
Merge branch 'doxygen_ext_in' into 'master'
ita1024 Feb 23, 2020
44bb31d
gccdeps: Add support for gas
Feb 24, 2020
bcf03c0
add support for clang on cygwin
swaldhoer Feb 29, 2020
9fd0366
Merge branch 'gccdeps' into 'master'
ita1024 Feb 29, 2020
7cfdf4c
Merge branch 'add-clang-support-to-cygwin' into 'master'
ita1024 Feb 29, 2020
6435034
Remove the accidental gccdeps requirement
ita1024 Feb 29, 2020
6182a90
Add support for clang++ on cygwin
swaldhoer Mar 1, 2020
9e82013
Merge branch 'add-clang++-support-to-cygwin' into 'master'
ita1024 Mar 2, 2020
c98e8b9
Improve custom option processing #2280
ita1024 Mar 4, 2020
e3227a6
c_config: -flto and -fno-lto need to be passed also when linking
fedepell Mar 19, 2020
6687694
Merge branch 'cconfig-flagstolinker' into 'master'
ita1024 Mar 21, 2020
f1d78d1
waf-2.0.20
ita1024 Mar 28, 2020
d2bd00e
boost: fix removal of lib extension
Apr 9, 2020
ca23b4f
Merge branch 'fix-boost-libname' into 'master'
ita1024 Apr 9, 2020
cef110a
boost: ignore version number from library name
Apr 10, 2020
816f466
Merge branch 'fix-boost-libname' into 'master'
ita1024 Apr 14, 2020
f414602
msvcdeps: Tweak debug output
Apr 23, 2020
801f449
Merge branch 'msvcdeps-logging' into 'master'
ita1024 Apr 24, 2020
b202ab2
qt5: improve documentation on library detection and options
fedepell Apr 30, 2020
716f35d
Merge branch 'qt5_libs_docs' into 'master'
ita1024 May 1, 2020
def556a
sphinx: fix installation phase (as generated files are unknown until …
fedepell May 6, 2020
aafc036
Xcode6 py3 fix.
jpauwels May 14, 2020
c271a2c
Merge branch 'xcode6-py3-fix' into 'master'
ita1024 May 15, 2020
3ce7da0
Merge branch 'sphynx_install' into 'master'
ita1024 May 15, 2020
bb86b2c
Fix alignment in generated Xcode file
jpauwels May 18, 2020
44cd7ff
Fix configuration of linker flags in Xcode file
jpauwels May 18, 2020
0d5f11c
Export preprocessor macros in Xcode project
jpauwels May 18, 2020
0585520
Escape quoted strings in Xcode project
jpauwels May 18, 2020
f0427d2
Merge branch 'xcode-fixes' into 'master'
ita1024 May 20, 2020
1e1818c
Allow parameter "always" in doxygen tool (waflib/extra/doxygen.py)
amontida Jun 13, 2020
225448b
Merge branch 'doxygen_taskgen_fix' into 'master'
ita1024 Jun 14, 2020
8537c0d
Update c_dumbpreproc (broken)
ita1024 Jun 18, 2020
8b67866
gccdeps/msvcdeps: renaming a header must rebuild silently #2293
ita1024 Jun 19, 2020
a01652d
Conceal gccdeps/msvcdeps errors on inaccessible/unreadable files
ita1024 Jun 24, 2020
a67a1bf
Typo
selsky Apr 28, 2020
8a8a9cc
Merge branch 'typo' into 'master'
ita1024 Jul 1, 2020
49c5b38
c_config: add MCST Elbrus detection
a1batross Jul 12, 2020
8dc44ee
Merge branch 'patch-1' into 'master'
ita1024 Jul 12, 2020
1c1204a
Improve wafcache process pre-allocation
ita1024 Aug 3, 2020
49a9845
Port file_to_obj to Python3
ita1024 Aug 3, 2020
8722191
Fix playground/pch's second example
ita1024 Aug 10, 2020
2c58b1f
Remove an extra 'pch' annotation in playgroud/pch/wscript
ita1024 Aug 10, 2020
0eb79f2
Force an asm-specific defines flag
ita1024 Aug 15, 2020
b3d1a0c
default to version of visual studio from command prompt if it exists
Aug 19, 2020
794e367
Merge branch 'add-msvc-default' into 'master'
ita1024 Aug 19, 2020
b05dcce
Simplify the determination of --msvc_version's default value
ita1024 Aug 19, 2020
81dbcf3
Update tutorial.rst to use uniform parameter names in all places wher…
Sep 6, 2020
19540dc
Update tutorial.rst to clarify that the env attribute is shared betwe…
Sep 6, 2020
aaf89c0
Merge branch 'patch-1' into 'master'
ita1024 Sep 6, 2020
c8685cf
Merge branch 'patch-3' into 'master'
ita1024 Sep 6, 2020
7dd713f
Make sure lupdate is explicitly required
ita1024 Sep 19, 2020
7348371
Fail Qt5 detection immediately when the c++ compiler is missing
ita1024 Sep 19, 2020
b2c81f8
The lrelease program is necessary, not lupdate
ita1024 Sep 19, 2020
cccb443
waf_unit_test: make sure test is rerun if ut_str changes
fedepell Oct 14, 2020
60405f7
Merge branch 'waf_utstr_signature' into 'master'
ita1024 Oct 14, 2020
c30b928
Force unit test re-runs on environment or command changes
ita1024 Oct 15, 2020
0a18f9b
waf_unit_test: consider ut_cmd always for task signature
fedepell Oct 15, 2020
b619648
Merge branch 'ut_changedvars' into 'master'
ita1024 Oct 16, 2020
db81b7d
wafcache: add support for MinIO/mc cache
fedepell Nov 2, 2020
f5b3aa8
Merge branch 'wafcache_minio' into 'master'
ita1024 Nov 2, 2020
1322f44
wafcache: make the extra more configurable for cloud providers usage
fedepell Nov 3, 2020
255a2db
Merge branch 'wafcache_configure' into 'master'
ita1024 Nov 3, 2020
3083f83
Improve WAFCACHE_CMD parameter handling
ita1024 Nov 3, 2020
dfb3f5b
Reduce verbosity in out-of-tree builds
ita1024 Nov 8, 2020
ce770a9
Improve the WAFCACHE_CMD description
ita1024 Nov 8, 2020
5c841ca
Update the ChangeLog file
ita1024 Nov 8, 2020
edde20a
Update the project's public key
ita1024 Nov 8, 2020
86eea78
waf-2.0.21
ita1024 Nov 8, 2020
267a61e
Fix the file_to_object example
ita1024 Nov 19, 2020
7b25a04
Exclude wafcache symlink handling
ita1024 Dec 8, 2020
5cddf4b
Conceal wafcache decoding errors in Python3
ita1024 Dec 15, 2020
abfd2f6
Reduce wafcache verbosity on cleanup operations
ita1024 Dec 15, 2020
3072024
Improve clang_compilation_database interaction with wafcache
ita1024 Dec 15, 2020
60e3f5f
Work around distutils MACOSX_DEPLOYMENT_TARGET regression #2330
ita1024 Dec 17, 2020
329cd10
Haxe support
brodcode-stale Dec 23, 2020
08c2ca4
wafcache: add simple cache statistics collection, configurable via env
fedepell Dec 23, 2020
3e92585
Merge branch 'wafcache_stats' into 'master'
ita1024 Dec 26, 2020
cf8468a
Do not detect Qt6 when detecting Qt5
ita1024 Dec 26, 2020
5dbae3b
wafcache: fix small typo on stats log message
fedepell Jan 7, 2021
3b46768
Merge branch 'wafcache_log_typo' into 'master'
ita1024 Jan 7, 2021
e3f8191
cuda: solve warnings due to testapp being created by two tg
fedepell Jan 7, 2021
70e7209
cuda: pass correctly compiler options from nvcc to the underlying com…
fedepell Jan 7, 2021
da22d72
Merge branch 'cuda_compiler_options' into 'master'
ita1024 Jan 9, 2021
1619c2f
wafcache: fix reporting of concurrent trim error
fedepell Jan 11, 2021
57bdad7
Merge branch 'wafcache_error_parclean' into 'master'
ita1024 Jan 11, 2021
0c31d99
Suppress cache trimming operation errors
ita1024 Jan 12, 2021
99a041c
Increase clang_compilation_database and swig compatibility
ita1024 Jan 13, 2021
f952645
Add more docs to clang_compilation_database
ita1024 Jan 19, 2021
5e96d35
Fix Build.py indentation
ita1024 Jan 19, 2021
954adf6
Allow mixing Unix paths with destdir on non-Unix platforms
ita1024 Jan 19, 2021
c747a09
waf_unit_test: Fix command handling under windows
Jan 20, 2021
9ace152
Merge branch 'windows-unit-test-fix' into 'master'
ita1024 Jan 21, 2021
816d5bc
Work around faulty vcvarsall.bat scripts #2315
ita1024 Jan 29, 2021
3f8bb16
waf-2.0.22
ita1024 Jan 30, 2021
8fecd43
msvs: Update project sorting in visual studio solution file
martiank9 Mar 12, 2021
b8bcf0d
Merge branch 'vs-soln-gen' into 'master'
ita1024 Mar 13, 2021
ec3ce5c
winres: Pass include paths by environment variable
martiank9 Apr 5, 2021
36376fb
Merge branch 'winres-update' into 'master'
ita1024 Apr 5, 2021
64dff6f
c_config: add RISC-V generic detection
a1batross Apr 15, 2021
80ffb62
Merge branch 'a1batross-master-patch-10902' into 'master'
ita1024 Apr 15, 2021
2d14817
msvcdeps: Faster case correction
Apr 12, 2021
71ada95
Merge branch 'msvcdeps-perf' into 'master'
ita1024 Apr 22, 2021
c082c5c
Let msvcsdeps process relative paths and in a deterministic manner
ita1024 Apr 22, 2021
9982080
msvcdeps: Remove unused variable
Apr 9, 2021
0bc85fb
msvcdeps: Align with gccdeps
Apr 9, 2021
412b5c3
gccdeps: Rename some variables
Apr 9, 2021
c52efad
gccdeps: Move scan() method
Apr 9, 2021
b366317
gccdeps: Refactor cache lock
Apr 9, 2021
47778d9
swig: skip CR (\r) if present in module name
fedepell Apr 29, 2021
7f1fdd3
Merge branch 'swig_module_name_cr' into 'master'
ita1024 Apr 29, 2021
b1098d4
On windows, try $INCLUDEPY/../libs to detect the Python library path
ita1024 Apr 30, 2021
df4d81e
Disable OpenIndiana from the pipelines
ita1024 May 4, 2021
05ebc97
Handle deprecated Thread.setDaemon in Python 3.10
ita1024 May 13, 2021
c5bcd7e
Improve error messages from scanner errors #2356
ita1024 Jun 12, 2021
f44e459
Process dependency Nodes in bld(rule=..., deps=[..])
ita1024 Jun 16, 2021
e65bd76
color_gcc: Check that cmd has elements in it before processing it.
martiank9 Jun 21, 2021
3536dfe
Merge branch 'color-gcc-fix-2' into 'master'
ita1024 Jun 22, 2021
23df452
Make clang_compilation_database compatible with variants
Jul 15, 2021
abc4c27
Merge branch 'master' into 'master'
ita1024 Jul 15, 2021
161be6e
eclipse: add generation of editor language settings
fedepell Aug 31, 2021
6291879
Merge branch 'eclipse_scanner_config' into 'master'
ita1024 Aug 31, 2021
557139e
eclipse: remove repeated entries in include paths for C/C++
fedepell Sep 3, 2021
c1a2bf5
Merge branch 'eclipse_unique_includes' into 'master'
ita1024 Sep 4, 2021
90dec3a
Provide the classic runner system from waf 1.x as an extension
ita1024 Sep 22, 2021
9b06493
wafcache: support stats also for multiple build commands
fedepell Nov 24, 2021
51fa39d
Merge branch 'wafcache_stats_multiple_bld' into 'master'
ita1024 Nov 24, 2021
1b0656b
Update the CI pipelines
ita1024 Dec 4, 2021
0c7229c
Detect Qt3D* libraries #2368
ita1024 Dec 8, 2021
5bfce4a
Detect qt5 libraries in alphabetical order
ita1024 Dec 8, 2021
7d77052
eclipse: add possibility to add custom targets execution
fedepell Dec 9, 2021
27126f9
Merge branch 'eclipse_extra_targets' into 'master'
ita1024 Dec 9, 2021
3a03632
Avoid errors in case ECLIPSE_EXTRA_TARGETS is is set to None
ita1024 Dec 9, 2021
ae97dbf
Add support for GNU/kFreeBSD
sathieu Dec 13, 2021
cc6b34c
Merge branch 'gnukfreebsd' into 'master'
ita1024 Dec 14, 2021
c0d5ac0
waf-2.0.23
ita1024 Dec 15, 2021
d77c490
modernize macos demo
Dec 21, 2021
6c81b4a
Merge branch 'modernize-macos-demo' into 'master'
ita1024 Dec 24, 2021
a9173e9
msvc: fix version detection when new and old compilers are installed
a1batross May 17, 2022
8d6cbb3
Python: Use EXT_SUFFIX config var over the deprecated/removed SO
hroncok May 17, 2022
8865ba3
Merge branch 'ext_suffix' into 'master'
ita1024 May 17, 2022
f05624b
docs: improve the featuremap's layout
ita1024 May 17, 2022
591c0c6
doc: fix the empty apidocs
ita1024 May 17, 2022
f421d09
docs: fix the inheritance diagrams in the apidocs
ita1024 May 17, 2022
247916d
Merge branch 'msvc_detect' into 'master'
ita1024 May 22, 2022
1af97c7
Sort visual studio versions by version number #2352
ita1024 May 22, 2022
15e04d7
Waf 2.0.24
ita1024 May 22, 2022
c140c3f
Ensure signed waf files can be created using Python3
ita1024 May 22, 2022
2d27c34
pyqt5: improve autodetection of tools and add flag support
fedepell Jun 8, 2022
b0dc159
Merge branch 'pyqt5_improvements' into 'master'
ita1024 Jun 9, 2022
514ec74
gccdeps: Harden class wrapping
Aug 31, 2022
bccfb03
Merge branch 'amalachowski-master-patch-25171' into 'master'
ita1024 Aug 31, 2022
c1a1a9f
sphinx: support multiple output formats
fedepell Sep 1, 2022
c992923
Merge branch 'sphinx_multiple' into 'master'
ita1024 Sep 1, 2022
e236ef8
Improve cp65001 compat in cpython < 3.3
Sep 1, 2022
177bd3b
Merge branch 'py2-cp65001' into 'master'
ita1024 Sep 1, 2022
13bc8b4
Fix typo in documentation.
andrebauer Sep 28, 2022
23a7ab7
Merge branch 'master' into 'master'
ita1024 Sep 29, 2022
e94fac3
wafcache: skip uploads when inputs are modified while building
ita1024 Oct 1, 2022
80c6808
Ensure find_program replaces more invalid characters
ita1024 Oct 5, 2022
f1956a0
Adding an extra module to detect the Fujitsu Fortran compiler on ARM6…
haraldkl Nov 18, 2022
c6b1907
Merge branch 'fortran/fujitsu' into 'master'
ita1024 Nov 20, 2022
78a1de6
Only detect binaries with execution permission
h3xx Dec 21, 2022
84c2658
Workaround for the distutils removal in Python 3.12
ita1024 Dec 22, 2022
6551dd0
Distutils removal in Python 3.12: set the correct Python arch dir
ita1024 Dec 31, 2022
46cd793
Distutils removal in Python 3.12: set the correct Python arch dir
ita1024 Dec 31, 2022
9ab0c83
docs: update the ChangeLog file
ita1024 Dec 31, 2022
46fe4bc
Add asynchronous wafcache uploads
ita1024 Dec 31, 2022
2db0b41
Fix suspicious warnings
ita1024 Jan 1, 2023
39ef33e
Waf 2.0.25
ita1024 Jan 1, 2023
0da14c8
Support SOURCE_DATE_EPOCH in some places
ita1024 Feb 12, 2023
be5b485
waf.bat fixes
a1batross Mar 27, 2023
38b0323
Merge branch 'a1batross-master-patch-74910' into 'master'
ita1024 Mar 27, 2023
7081856
Add Python 3.11 and 3.12 too
ita1024 Mar 27, 2023
87566c6
waflib: extras: msvs: enclose solution path into doublequotes in gene…
a1batross Apr 10, 2023
ee63711
Merge branch 'a1batross-master-patch-25634' into 'master'
ita1024 Apr 10, 2023
b9d968a
sphinx: put doctrees temporary directory out of destination dir
fedepell Jun 20, 2023
2351978
Merge branch 'sphinx_doctrees_dir' into 'master'
ita1024 Jun 20, 2023
2f36e89
Haxe Toolkit support
Mar 28, 2023
def399e
qt5: Add support for Qt6
Jun 22, 2023
199e035
Update the documentation
ita1024 Jul 15, 2023
773e0de
Update the project's public key
Aug 12, 2023
0fb985c
Waf 2.0.26
Aug 12, 2023
ad7b733
Waf 2.0.26
Aug 12, 2023
fb6f054
Update the example that cleans any non-declared file #2415
Sep 15, 2023
0b04e7a
Fix crash in demos/asm
bjourne Sep 17, 2023
3f77e31
Detect new intel compilers (icx, icpx, ifx)
Sep 21, 2023
5a4bc90
Merge branch 'fix-asm-example' into 'master'
ita1024 Sep 26, 2023
ef9b2d3
Pass the args parameter through to parse_cmd_args
bjourne Sep 26, 2023
74b1e23
Add macros for intel compiler detection (icx, icpx, ifx)
Oct 11, 2023
831bde6
Merge branch 'argument-parsing-fix' into 'master'
ita1024 Oct 17, 2023
eeeb29d
Merge branch 'fix-binary-executable' into 'master'
ita1024 Oct 21, 2023
7d7797e
Duplicate the license to a file #2357
Oct 21, 2023
f3abad4
glib-mkenums is a Python script no need to check for perl
bjourne Oct 16, 2023
e98914b
Detect the new Intel compilers
Oct 21, 2023
b49860a
Improve iocx/icpx/icx-cl detection
Oct 24, 2023
3306d33
Detect icx/icpx on Linux
Oct 25, 2023
61ff2ac
Fix loading both icc and icpc at the same time
Oct 26, 2023
4b31705
Warn and force --nostrip on the presence of f-strings in waf files
Oct 31, 2023
6a3e25f
Fix Intel OneApi conf.check in C++ mode.
Oct 31, 2023
8e13d1b
Switch to nonstopmode for latex prompts #2421
Dec 7, 2023
a495d95
Improve msvc log output
Vynce Dec 7, 2023
9c1f2a0
Fix possible crash in ctx.exec_command() when verbose mode is on
wynnw Dec 5, 2023
a739525
Fix exec_command & waf -v & custom path in environment
Dec 10, 2023
6730d9b
Fix possible crash in ctx.cmd_and_log() when verbose mode is on
Jan 10, 2024
3896624
Typo
Jan 12, 2024
a8b4a5f
Improve Qt6 detection with msvc
Jan 12, 2024
b11202c
Merge branch 'master' into 'master'
Jan 12, 2024
65b96e1
Avoid coloring all MSVC logs #2366
Feb 18, 2024
f95b426
Describe why color_gcc.py is no longer relevant
Feb 18, 2024
aff9ec2
qt5: Revert pattern matching libraries as that breaks libs like QtX3D
fedepell Mar 9, 2024
75aebc1
Reduce verbosity when both Qt5 and Qt6 are installed on a system
Mar 9, 2024
ed8be1b
docs
Mar 9, 2024
1fe68f2
Waf 2.0.27
ita1024 Mar 10, 2024
5dee745
fixed cross-build for arm-none-eabi on cygwin
tridge Mar 2, 2018
4593fa6
Make error messages more useful
lucasdemarchi Mar 28, 2018
35de4d0
gccdeps: ignore undeclared build products
tridge Jun 20, 2018
c2e927a
Build.py: correct debug
peterbarker Oct 11, 2019
b25b5c7
Fixed configure error with cygwin
tridge Jan 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,32 @@ build
demos/*/build*
playground/*/build*
.waf-*
.waf3-*
*.log
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows build output
waf.bat
Expand Down
291 changes: 291 additions & 0 deletions .pipelines/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@

pipeline {
agent none
stages {
stage('Build and Lint') {
parallel {
stage('Python 2.7') {
agent {
label "ubuntu"
}
steps {
sh 'python2.7 ./waf-light'
stash includes: 'waf', name: 'waf'
}
}
stage('Python 3.6') {
agent {
label "freebsd"
}
steps {
sh 'python3.6 ./waf-light'
}
}
stage('Deprecation warnings') {
agent {
label "ubuntu"
}
steps {
sh '''
cd waflib
find . -iname "*.pyc" -exec rm -f {} \\; || true
! (((PYTHONWARNINGS=all python3.6 -m compileall . > /dev/null) 2>&1 ) 2>&1) | grep -i DeprecationWarning
'''
}
}
stage('Pyflakes') {
agent {
label "freebsd"
}
steps {
sh '''
cd waflib
var=`(/usr/local/bin/pyflakes3.py *.py Tools/*.py extras/*.py 2>&1) | egrep "undefined name|invalid syntax|inconsistent use|unindent does not match any outer indentation level" | wc -l`
if [ "0" -eq "$var" ]
then
/usr/local/bin/pyflakes3.py *.py Tools/*.py extras/*.py || true
else
# just do it again and fail
/usr/local/bin/pyflakes3.py *.py Tools/*.py extras/*.py
exit 1
fi
'''
}
}
stage('Unit tests') {
agent {
label "fedora"
}
steps {
sh '''
./waf-light
cd tests/preproc/
../../waf distclean
../../waf configure build
cd ../..'''
sh '''
cd tests/install/
../../waf distclean
../../waf configure build
cd ../..'''
sh '''
cd tests/general/
../../waf distclean
../../waf configure build
cd ../..'''
sh '''
export PATH=$PATH:$PWD
cd tests/init/
../../waf distclean
../../waf configure build
cd ../..'''
sh '''
export WAF_TEST_GROUP=waftest
cd tests/install_group/
../../waf distclean
../../waf configure build
'''
}
}
}
}
stage('Integration') {
parallel {
stage('Ubuntu') {
stages {
stage('py25') {
agent {
label "ubuntu"
}
steps {
dir('demos') {
unstash 'waf'
}
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=c'''
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=c++'''
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=java'''
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=perl'''
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=python'''
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=qt5'''
sh '''cd demos; LD_LIBRARY_PATH=/opt/lib ./waf distclean configure clean build --top=subst'''
}
}
stage('py36') {
agent {
label "ubuntu"
}
steps {
dir('demos') {
unstash 'waf'
}
sh '''cd demos; python3 ./waf configure clean build --top=c'''
sh '''cd demos; python3 ./waf configure clean build --top=c++'''
sh '''cd demos; python3 ./waf configure clean build --top=java'''
sh '''cd demos; python3 ./waf configure clean build --top=perl'''
sh '''cd demos; python3 ./waf configure clean build --top=python'''
sh '''cd demos; python3 ./waf configure clean build --top=qt5'''
sh '''cd demos; python3 ./waf configure clean build --top=subst'''
}
}
stage('py27') {
agent {
label "ubuntu"
}
steps {
dir('demos') {
unstash 'waf'
}
sh '''cd demos; ./waf configure clean build --top=c'''
sh '''cd demos; ./waf configure clean build --top=c++'''
sh '''cd demos; ./waf configure clean build --top=java'''
sh '''cd demos; ./waf configure clean build --top=perl'''
sh '''cd demos; ./waf configure clean build --top=python'''
sh '''cd demos; ./waf configure clean build --top=qt5'''
sh '''cd demos; ./waf configure clean build --top=subst'''
}
}
}
}
stage('OpenBSD') {
stages {
stage('Jython') {
agent {
label "openbsd"
}
steps {
sh '''
export WAF_NO_PREFORK=1
/home/jenkins/jython/bin/jython ./waf-light
cp waf demos/c
cd demos/c
/home/jenkins/jython/bin/jython ./waf distclean configure clean build
'''
}
}
stage('py38') {
agent {
label "openbsd"
}
steps {
dir('demos') {
unstash 'waf'
}
sh '''cd demos/asm; python3 ../waf configure clean build'''
sh '''cd demos/c; python3 ../waf configure clean build'''
sh '''cd demos/c++; python3 ../waf configure clean build'''
sh '''cd demos/glib2; python3 ../waf configure clean build'''
sh '''cd demos/perl; python3 ../waf configure clean build'''
sh '''cd demos/python; python3 ../waf configure clean build'''
sh '''cd demos/subst; python3 ../waf configure clean build'''
}
}
}
}
stage('Windows') {
stages {
stage('C/py34') {
agent {
label "windows"
}
steps {
bat ''' C:/Python34/python.exe waf-light --tools=msvs '''
bat '''
copy waf demos\\c /Y
cd demos\\c
C:/Python34/python.exe waf distclean
C:/Python34/python.exe waf configure --no-msvc-lazy build -v
'''
bat '''
copy waf demos\\qt5 /Y
cd demos\\qt5
C:/Python34/python.exe waf distclean
C:/Python34/python.exe waf configure --no-msvc-lazy build -v
'''
bat '''
copy waf playground\\msvs /Y
cd playground\\msvs
C:/Python34/python.exe waf distclean
C:/Python34/python.exe waf configure
C:/Python34/python.exe waf msvs
'''
}
}
stage('C/Msys2/py27') {
agent {
label "windows"
}
steps {
unstash 'waf'
bat '''
copy waf demos\\c /Y
cd demos\\c
set MSYSTEM=MINGW64
set WD=C:\\msys64\\usr\\bin
set CHERE_INVOKING=1
C:\\msys64\\usr\\bin\\sh --login -c 'exec /bin/bash -c "python waf configure clean build && python waf distclean"'
'''
}
}
stage('C/Msys2/py35') {
agent {
label "windows"
}
steps {
unstash 'waf'
bat '''
copy waf demos\\c /Y
cd demos\\c
set MSYSTEM=MINGW64
set WD=C:\\msys64\\usr\\bin
set CHERE_INVOKING=1
C:\\msys64\\usr\\bin\\sh --login -c 'exec /bin/bash -c "python3 waf configure clean build && python3 waf distclean"'
'''
}
}
}
}
stage('FreeBSD') {
stages {
stage('py36') {
agent {
label "freebsd"
}
steps {
dir('demos') {
unstash 'waf'
}
sh '''cd demos/c; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/c++; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/java; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/jni; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/perl; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/python; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/ruby; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/glib2; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/qt5; python3.6 ../waf distclean configure clean build'''
sh '''cd demos/dbus; python3.6 ../waf distclean configure clean build'''
}
}
}
}
stage('MacOS') {
stages {
stage('py27') {
agent {
label "macos"
}
steps {
dir('demos') {
unstash 'waf'
}
sh '''cd demos/c; ../waf distclean configure clean build'''
sh '''cd demos/python; ../waf distclean configure clean build'''
sh '''cd demos/mac_app; ../waf distclean configure clean build'''
}
}
}
}
}
}
}
}
Loading