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
Dylan Baker
e0f036f3a4
linkers: Always use mesonlib namespace
5 years ago
Dylan Baker
5d7395673d
compilers: return as-needed args as a list
5 years ago
Dylan Baker
24c4c079e7
linkers: Add get_base_link_args method to static linkers
...
MSVC needs an argument to static linkers for doing LTO, so we need a way
for the static linker to tell us that.
5 years ago
Dylan Baker
7eb1d89095
compilers: Move lto args into compiler class
...
There are two problems, one is that it assumes -flto is the argument
to do LTO/WPO, which isn't true of ICC and MSVC (and presumably)
others. It's also incorrect because it assumes that the compiler and
linker will always be the same, which isn't necessarily true. You
could combine GCC with Apple's linker, or clang with link.exe, which
use different arguments.
5 years ago
Dylan Baker
32c57ca782
linkers: simplify and annotate
...
I started out just annotating, but realized there is a lot of really
silly duplication of methods in this module. Nearly all of the methods
return [], but each class implemented the same methods over and over!
I've fixed this by moving the default implementation down into the
`StaticLinker` class, and then overriding as necessary in the derived
classes.
5 years ago
Dylan Baker
753587ee15
mesonlib: Annotate Popen_safe functions
...
These are used in linkers.py and need to be annotated to make linkers.py
100% clean
5 years ago
Dylan Baker
019f73dd7c
coredata: Add a type for the options dict
...
This is used in a lot of places, having a single way to reference it is
convenient. It's placed under a typing.TYPE_CHECKING guard to mimimize
runtime impact
5 years ago
Daniel Mensinger
3b2126531a
cmake: added test case for environment variables
5 years ago
Daniel Mensinger
e2499fab8b
meson: Use CMAKE_PREFIX_PATH environment variable
5 years ago
Nirbheek Chauhan
9c2724bce5
Add optional progress bar when generating build.ninja
5 years ago
Nirbheek Chauhan
4200afc74d
unit tests: Check whether pytest-xdist is available
...
Also, always run pytest using the module format to ensure that we're
always using the Python interpreter selected by the user.
Fixes issue reported in https://github.com/mesonbuild/meson/pull/5621#issuecomment-513034198
5 years ago
Nirbheek Chauhan
81b6c9ef8c
unit tests: Use a timeout for tests that use the network
...
It's better to quickly skip when the network is unavailable or slow.
5 years ago