Daniel Mensinger
07f48851d0
cmake: added generator expression test case
5 years ago
Daniel Mensinger
bee74eea16
cmake: Parse a subset of generator expressions
5 years ago
Jussi Pakkanen
679ddb0ae7
Merge pull request #5638 from mensinda/cmInterface
...
CMake: Support INTERFACE libraries
5 years ago
Jussi Pakkanen
5d9a1558c2
Merge pull request #5733 from scivision/pgi_openmp
...
PGI: correct Fortran so that Fortran run_project_tests.py pass
5 years ago
Daniel Mensinger
b72b5365af
mintro: Fix crash related to the sources kwarg ( fixes #5741 )
5 years ago
Michael Hirsch, Ph.D
f5554957cb
skip common/223 for PGI, as even 19.4 doesn't fully support C++17 as claimed
5 years ago
Michael Hirsch, Ph.D
c2f2e51105
PGI: fix openmp for 190common test
...
since there is no pgc++ on Windows, we avoid invoking that in 190common
5 years ago
Michael Hirsch, Ph.D
902d0e579e
default fortran lib to static so windows can be tested
5 years ago
Michael Hirsch, Ph.D
051e5e0e35
skip fortran dyamiclib tests on Windows
5 years ago
Michael Hirsch, Ph.D
fe638d63d9
OpenMP is intrinsic to PGI
5 years ago
Michael Hirsch, Ph.D
0706434afe
PGI doesn't have coarray fortran
5 years ago
Michael Hirsch, Ph.D
d0e78a2534
default libtype to static to allow windows compilers to not skip
...
To make Fortran tests useful on Windows, the library_type should default to static,
unless needed to specifically test shared. Shared Fortran libs on Windows for
non-Gfortran compilers is fragile requiring proprietary code syntax.
5 years ago
Michael Hirsch, Ph.D
7eebb6749a
no special shared lib args for PGI
5 years ago
Michael Hirsch, Ph.D
1e08d81476
PGI -shared is for Linux only
5 years ago
Michael Hirsch, Ph.D
148a3a83a6
DOC: meson test multiple --suite specifications [skip ci]
...
docs:wrap < 80 col
5 years ago
ePirat
84030abd31
Docs: Add default value of install kwarg [skip-ci]
5 years ago
Jussi Pakkanen
3e54719ab8
Merge pull request #5740 from scivision/intel-ci_fix
...
tests: Intel-cl fixes for Fortran
5 years ago
Michael Hirsch, Ph.D
1e53f67187
PGI: cpp_pch precompiled headers functionality
...
* PGI C++ PCH enable
PGI compilers support precompiled headers for C++ only.
The common/13 pch test passes if run manually with no spaces in the build path.
However, since Meson run_project_tests.py makes temporary build directories
with spaces in each tests, PGI --pch_dir can't handle this and fails.
So we skip the test for PGI despite it working for usual case with no-spaces
in build dir.
Note: it's fine to have spaces in full path for sourcedir, just no spaces in
relative path to builddir.
* doc
5 years ago
Jussi Pakkanen
986587067c
Merge pull request #5734 from scivision/flang_fix
...
Flang: Fortran project_tests fixes
5 years ago
Thibault Saunier
645a8584fe
dist: Pass right build options when configuring dist directory
...
Fixes https://github.com/mesonbuild/meson/issues/5732
5 years ago
Michael Hirsch, Ph.D
b5e9ab8ed0
fortran tests: non-gfortran compilers on Windows are best static libs
...
collapsed get_relative_files_list_from_dir to a one-liner via pathlib.Path
5 years ago
Michael Hirsch, Ph.D
667cc80f72
run_tests: ifort / intel-cl must have ninja backend
5 years ago
Michael Hirsch, Ph.D
3d18da0de3
actually failfast, was not failing fast before
5 years ago
Michael Hirsch, Ph.D
a7c8a69afb
intel-cl: readd missing import
5 years ago
Michael Hirsch, Ph.D
dfa52469d7
openmp: allow omp.h or omp_lib.h
5 years ago
Michael Hirsch, Ph.D
bc08ace84e
Flang: add links for non-flang main program
5 years ago
Michael Hirsch, Ph.D
26f8058ef2
Flang and PGI don't yet support coarray
5 years ago
Michael Hirsch, Ph.D
c904d3eefe
remove vestigial $ from test error msg
...
Also:
* cleanup os.path use to pathlib.Path in associated code
* cleanup subprocess.Popen to subprocess.run
5 years ago
Dylan Baker
487fdfcd11
docs: Add missing closing ` in reference manual
5 years ago
Dylan Baker
b3ea27f596
interpreter: Fix permitted kwargs in dependency.get_variable
...
default -> default_value
5 years ago
Dylan Baker
03f3c7ad62
docs: correct key in dep.get_variable
...
pkg-config -> pkgconfig
5 years ago
Michael Hirsch, Ph.D
49dd56b312
add missing link [skip ci]
5 years ago
Michael Hirsch, Ph.D
b90b69d383
note that integers have .to_string() method [skip ci]
5 years ago
Nirbheek Chauhan
fcecedc10e
unit tests: Convert unittest args to pytest
...
Allows people to run specific tests and/or enable verbose mode.
5 years ago
Daniel Mensinger
497fbf0ce0
cmake: Added interface libraries test case
5 years ago
Daniel Mensinger
30c301a48c
cmake: handle interface libraries
5 years ago
Daniel Mensinger
50bbeaf859
cmake: trace: add support for some target_* functions
5 years ago
Daniel Mensinger
1a4fae28ad
cmake: trace: support interface libraries
5 years ago
Daniel Mensinger
e7948508d7
cmake: trace: set_target_properties improved property detection
5 years ago
Nirbheek Chauhan
ab0e65c196
ci/cygwin: Install pytest-xdist for unit tests
...
The job is taking too long and timing out, use pytest-xdist to speed
up unit tests. Speeds it up on my system from 20 min to 8 min.
Still much slower than native windows: vs2017-x64 takes 3.5 min with
pytest-xdist.
5 years ago
Nirbheek Chauhan
f5ed85d7cd
ci/cygwin: Don't need a special step to install cmake
5 years ago
Daniel Mensinger
8bc408e4ba
Added KDevelop to the docs ( #5714 ) [skip ci]
...
The new meson plugin will be included in KDevelop 5.4, so adding
it to the IDE-Integration docs.
https://www.kdevelop.org/news/kdevelop-5380-released
5 years ago
Nirbheek Chauhan
b0f4587663
docs: Document when install: was added to configure_file [skip ci]
...
Somehow we forgot to document this.
5 years ago
Nirbheek Chauhan
dd42994f42
tests/122 shared module: More verbose logging
...
So we know why the syscalls failed.
5 years ago
Nirbheek Chauhan
c2b3208e28
.travis.yml: Fix cross-mingw test failures
...
Run docker with seccomp:unconfined, since otherwise we're blocked from
calling CreateToolhelp32Snapshot() inside the cross-mingw tests,
specifically `common/122 shared module`.
5 years ago
Nirbheek Chauhan
325fc9c127
ci: Fix failures in vs2019 jobs on Azure
...
pip warns about being out of date and powershell interprets that as an
error because reasons.
Found in https://github.com/mesonbuild/meson/pull/5687#issuecomment-514268525
5 years ago
Jussi Pakkanen
f2e018c7f3
Create multiple different archive types with dist.
5 years ago
Jussi Pakkanen
7ce2a24f42
Made dist a top level command.
5 years ago
Marc-André Lureau
3811101434
meson: handle nested disabler
...
Fixes #5659
5 years ago
Dylan Baker
c8a6a44850
compilers: pull sanitzier args into compiler classes
...
This simplifies and cleans things up.
5 years ago