Commit Graph

7981 Commits

Author SHA1 Message Date
Jussi Pakkanen f39600647d Condense test directory names. 2019-08-03 02:29:44 +03:00
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
2019-08-03 01:28:27 +03:00
Jussi Pakkanen cba23413c5
Merge pull request #5749 from mensinda/cmGenExp
CMake: Basic generator expression support
2019-08-02 20:57:10 +03:00
Jussi Pakkanen 9a62d6932b Make ARM compilers work on Linux. 2019-08-02 19:27:00 +03:00
Michael Hirsch, Ph.D 9943635a98 add pylint Azure job 2019-08-02 14:31:22 +03:00
Michael Hirsch, Ph.D fa38aa378e add pylint config file. update Sider CI name 2019-08-02 14:31:22 +03:00
Michael Hirsch, Ph.D 7aecfb1540 remove unreachable code 2019-08-02 14:31:22 +03:00
Emmanuel Pacaud 923efe9eda Add aravis to meson users (#5757) [skip-ci]
Aravis project is now using meson as its build system.
2019-08-02 07:52:26 +00:00
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
2019-07-31 22:36:59 +03:00
Michael Hirsch, Ph.D f3fbac9d2b OpenMP:stop searching when openmp headers are first found 2019-07-31 22:34:03 +03:00
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.
2019-07-31 21:42:24 +03:00
Daniel Mensinger 07f48851d0
cmake: added generator expression test case 2019-07-31 17:50:07 +02:00
Daniel Mensinger bee74eea16
cmake: Parse a subset of generator expressions 2019-07-31 17:50:02 +02:00
Jussi Pakkanen 679ddb0ae7
Merge pull request #5638 from mensinda/cmInterface
CMake: Support INTERFACE libraries
2019-07-31 18:40:15 +03:00
Jussi Pakkanen 5d9a1558c2
Merge pull request #5733 from scivision/pgi_openmp
PGI: correct Fortran so that Fortran run_project_tests.py pass
2019-07-31 00:31:15 +03:00
Daniel Mensinger b72b5365af mintro: Fix crash related to the sources kwarg (fixes #5741) 2019-07-31 00:30:17 +03:00
Michael Hirsch, Ph.D f5554957cb
skip common/223 for PGI, as even 19.4 doesn't fully support C++17 as claimed 2019-07-30 15:33:11 -04:00
Michael Hirsch, Ph.D c2f2e51105
PGI: fix openmp for 190common test
since there is no pgc++ on Windows, we avoid invoking that in 190common
2019-07-30 15:33:11 -04:00
Michael Hirsch, Ph.D 902d0e579e
default fortran lib to static so windows can be tested 2019-07-30 15:33:10 -04:00
Michael Hirsch, Ph.D 051e5e0e35
skip fortran dyamiclib tests on Windows 2019-07-30 15:33:10 -04:00
Michael Hirsch, Ph.D fe638d63d9
OpenMP is intrinsic to PGI 2019-07-30 15:33:09 -04:00
Michael Hirsch, Ph.D 0706434afe
PGI doesn't have coarray fortran 2019-07-30 15:33:09 -04:00
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.
2019-07-30 15:31:00 -04:00
Michael Hirsch, Ph.D 7eebb6749a
no special shared lib args for PGI 2019-07-30 15:29:51 -04:00
Michael Hirsch, Ph.D 1e08d81476
PGI -shared is for Linux only 2019-07-30 15:29:50 -04:00
Michael Hirsch, Ph.D 148a3a83a6 DOC: meson test multiple --suite specifications [skip ci]
docs:wrap < 80 col
2019-07-30 19:08:48 +03:00
ePirat 84030abd31 Docs: Add default value of install kwarg [skip-ci] 2019-07-30 18:23:07 +03:00
Jussi Pakkanen 3e54719ab8
Merge pull request #5740 from scivision/intel-ci_fix
tests: Intel-cl fixes for Fortran
2019-07-30 18:21:30 +03:00
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
2019-07-30 18:07:20 +03:00
Jussi Pakkanen 986587067c
Merge pull request #5734 from scivision/flang_fix
Flang: Fortran project_tests fixes
2019-07-30 18:05:00 +03:00
Thibault Saunier 645a8584fe dist: Pass right build options when configuring dist directory
Fixes https://github.com/mesonbuild/meson/issues/5732
2019-07-30 18:04:45 +03:00
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
2019-07-30 03:17:14 -04:00
Michael Hirsch, Ph.D 667cc80f72
run_tests: ifort / intel-cl must have ninja backend 2019-07-30 03:14:25 -04:00
Michael Hirsch, Ph.D 3d18da0de3
actually failfast, was not failing fast before 2019-07-30 03:14:24 -04:00
Michael Hirsch, Ph.D a7c8a69afb
intel-cl: readd missing import 2019-07-30 00:27:13 -04:00
Michael Hirsch, Ph.D dfa52469d7
openmp: allow omp.h or omp_lib.h 2019-07-29 01:27:26 -04:00
Michael Hirsch, Ph.D bc08ace84e
Flang: add links for non-flang main program 2019-07-29 01:18:54 -04:00
Michael Hirsch, Ph.D 26f8058ef2 Flang and PGI don't yet support coarray 2019-07-29 01:00:04 -04:00
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
2019-07-27 13:06:41 +00:00
Dylan Baker 487fdfcd11 docs: Add missing closing ` in reference manual 2019-07-26 12:06:47 +00:00
Dylan Baker b3ea27f596 interpreter: Fix permitted kwargs in dependency.get_variable
default -> default_value
2019-07-26 12:06:47 +00:00
Dylan Baker 03f3c7ad62 docs: correct key in dep.get_variable
pkg-config -> pkgconfig
2019-07-26 12:06:47 +00:00
Michael Hirsch, Ph.D 49dd56b312 add missing link [skip ci] 2019-07-26 11:57:47 +03:00
Michael Hirsch, Ph.D b90b69d383 note that integers have .to_string() method [skip ci] 2019-07-26 11:57:47 +03:00
Nirbheek Chauhan fcecedc10e unit tests: Convert unittest args to pytest
Allows people to run specific tests and/or enable verbose mode.
2019-07-26 11:56:39 +03:00
Daniel Mensinger 497fbf0ce0
cmake: Added interface libraries test case 2019-07-25 17:41:14 +02:00
Daniel Mensinger 30c301a48c
cmake: handle interface libraries 2019-07-25 17:41:14 +02:00
Daniel Mensinger 50bbeaf859
cmake: trace: add support for some target_* functions 2019-07-25 17:41:14 +02:00
Daniel Mensinger 1a4fae28ad
cmake: trace: support interface libraries 2019-07-25 17:41:14 +02:00
Daniel Mensinger e7948508d7
cmake: trace: set_target_properties improved property detection 2019-07-25 17:41:14 +02:00