Marcin Niestroj
987539e233
Improve support for crosscompiled CMake modules
...
There are two variables that CMake takes into account during
find_package() in cross-compiled environments, which are: CMAKE_SYSROOT
and CMAKE_FIND_ROOT_PATH. Those are used in cmFindCommon::RerootPaths()
function, which blindly prepends all search paths with those specified
via CMAKE_SYSROOT and CMAKE_FIND_ROOT_PATH.
Extend search paths by using CMAKE_SYSROOT and CMAKE_FIND_ROOT_PATH in a
similar way as CMake does, so we successfully find CMake packages
information in cross-compiled environments.
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago
Jussi Pakkanen
2e6df380f1
Merge pull request #5644 from bonzini/meson-exe-cmdline
...
Show command line in `ninja -v` for `capture: true` custom targets and generators
5 years ago
Jussi Pakkanen
cba23413c5
Merge pull request #5749 from mensinda/cmGenExp
...
CMake: Basic generator expression support
5 years ago
Jussi Pakkanen
9a62d6932b
Make ARM compilers work on Linux.
5 years ago
Michael Hirsch, Ph.D
9943635a98
add pylint Azure job
5 years ago
Michael Hirsch, Ph.D
fa38aa378e
add pylint config file. update Sider CI name
5 years ago
Michael Hirsch, Ph.D
7aecfb1540
remove unreachable code
5 years ago
Emmanuel Pacaud
923efe9eda
Add aravis to meson users ( #5757 ) [skip-ci]
...
Aravis project is now using meson as its build system.
5 years ago
Dylan Baker
e33183a4cc
coredata: Ignore directories when searching for machine files
...
Otherwise having an output directory matching the name of the cross file
in the current working directory will cause an error. This patch instead
collects any invalid names and prints them along with the error message
when no valid file can be found.
Fixes #5640
5 years ago
Michael Hirsch, Ph.D
f3fbac9d2b
OpenMP:stop searching when openmp headers are first found
5 years ago
Marc-André Lureau
06aaffa4e1
Allow kconfig to read from configure_file()
...
At configure time, kconfig can read from configure_file().
"test cases/kconfig/4 load_config builddir/meson.build" was already
showing a workaround, now it actually can take configure_file input
directly.
5 years ago
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