Michael Hirsch, Ph.D
8be7278855
run_project_tests: argparse(choices) for --only name check
5 years ago
Daniel Mensinger
379d633ef2
lgtm: fix Unreachable code
5 years ago
Dylan Baker
39efd97714
run_project_tests: Fix skip rust
...
which expects an argument of backend, but isn't getting one.
5 years ago
Michael Hirsch, Ph.D
3120481d77
CI: scalapack not skippable since it's now in Docker image
5 years ago
Michael Hirsch, Ph.D
92b77cb321
deps: add scalapack
...
Scalapack uses a library stack that can be challenging to manage.
Not least of all since many Scalapacks ship with broken / incomplete
pkg-config files and CMake FindScalapack.cmake
This resolves those issues for typical Scalapack setups including:
* Linux: Intel MKL or OpenMPI + Netlib
* MacOS: Intel MKL or OpenMPI + Netlib
* Windows: Intel MKL (OpenMPI not available on Windows)
5 years ago
Daniel Mensinger
9435f11b17
ci: Add CI command to include text files in the CI log
5 years ago
Michael Hirsch, Ph.D
1baa1c9222
use '-Werror=unused-parameter' for gcc/clang on project tests and -fimplicit-none on fortran
...
Fortran: check for undeclared variables by forcing implicit none everywhere
C/C++: check for unused parameters and return types
removed unused variables from test cases
ci: do missing return and unused arg check with Github Actions
5 years ago
Daniel Mensinger
892c8ebe65
run_project_tests: Added print_tool_versions()
5 years ago
Dylan Baker
0c22798b1a
compilers: replace CompilerType with MachineInfo
...
Now that the linkers are split out of the compilers this enum is
only used to know what platform we're compiling for. Which is
what the MachineInfo class is for
5 years ago
Patrick Griffis
1670fca36f
Add blocks dependency
...
This allows easily enabling the blocks clang extension.
5 years ago
Michael Hirsch, Ph.D
3447767cac
PGI: windows PGI is sort of MSVC-like
5 years ago
Dylan Baker
25e32b56fb
tests: add wasm to run_project_tests --only
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
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
Daniel Mensinger
3b2126531a
cmake: added test case for environment variables
5 years ago
Michael Hirsch, Ph.D
cb7d236696
pythonic file checks
5 years ago
Jussi Pakkanen
b1fbbde0b0
Use pytest parallelisation if available.
5 years ago
Jussi Pakkanen
4b1ab96795
Add command line argument to skip unit tests.
5 years ago
Michael Hirsch, Ph.D
5b109c9ad2
correct missing argument for IntelClFortranCompiler
...
ifort passes all tests
cleanup logic
6 years ago
Michael Hirsch, Ph.D
40a3a6c3d0
only --only option to run_project_tests, add type hints, improve variable name use
6 years ago
Michael Hirsch, Ph.D
d61116efc1
windows project_test speedup by 2
6 years ago
Jussi Pakkanen
80856884cc
Do not check for DOS line endings in log files.
6 years ago
Jussi Pakkanen
6d6acab6fe
Detect broken Rust compiler setups.
6 years ago
John Ericson
07777e15d4
Purge `is_cross` and friends without changing user interfaces
...
In most cases instead pass `for_machine`, the name of the relevant
machines (what compilers target, what targets run on, etc). This allows
us to use the cross code path in the native case, deduplicating the
code.
As one can see, environment got bigger as more information is kept
structured there, while ninjabackend got a smaller. Overall a few amount
of lines were added, but the hope is what's added is a lot simpler than
what's removed.
6 years ago
John Ericson
32e827dcdc
Use `env.machines.*` to avoid some `is_cross`
...
This is a small example of the `is_cross` removal the that abstraction
enables.
6 years ago
Daniel Mensinger
703054903b
cmake: disable the CMake tests for msvc2015
6 years ago
Daniel Mensinger
493e505d58
cmake: better logging
6 years ago
Daniel Mensinger
cb57847c30
cmake: fixed installed_files.txt
6 years ago
Daniel Mensinger
bf81aac465
cmake: Added project tests
6 years ago
Joel Rosdahl
f13e65b93a
Update to new ccache URL
...
ccache’s web site is now located at https://ccache.dev .
Bonus: Use the preferred capitalization “Ccache” instead of “CCache”.
6 years ago
Dylan Baker
f5ea341319
compilers/clike: ICL needs msvc workarounds in has_function
6 years ago
Jussi Pakkanen
b0f90a793f
Better detection of tab indentation.
...
"But surely nobody would indent by having spaces first,
and tabs after that. Right? Right?"
6 years ago
Michael Hirsch, Ph.D
06bfc2dab6
per-target manual specification of link_language
6 years ago
Daniel Mensinger
3581839f4c
Fix unused variables warnings
6 years ago
Daniel Mensinger
bf98ffca9e
Fix blind exceptions
6 years ago
Jon Turney
744ca13ddb
Don't always skip objc/objc++ tests on Windows
...
These tests can run under MSYS2 using gcc or clang objc/objc++.
6 years ago
Jon Turney
1e9b753c95
Report detected compilers in run_project_tests
...
v2:
Use compilers.all_languages for the list of known languages
6 years ago
Ari Vuollet
5ee2fb6ede
d: Fix linker errors with shared libraries on Windows
6 years ago
John Ericson
f53f58f54e
Always initialize compiler_options before sanity_check
...
This is because sanity checking wants to use CFLAGS and friends.
6 years ago
Paolo Bonzini
7a02b76e70
interpreterbase: protect string division with FeatureNew
...
Meson is not warning if you join paths with / but you are requesting a
version older than 0.49.0; fix this before adding more features to the
division operator.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
6 years ago
Mark Schulte
647bd2839e
[modules] Add kconfig module
...
Add a kconfig module to allow meson to integrate with existing projects
that use kconfig.
6 years ago
Dylan Baker
e7c4601fe3
tests: disable Dlang tests on windows
...
These don't work and no one has fixed them. When I've tried to
download dmd for windows I can't get a valid installer from their
website. Let's at least turn the CI green.
6 years ago
Michael Hirsch, Ph.D
71cffa67fa
add NetCDF
6 years ago
Jussi Pakkanen
a81207881b
Disable D tests if dmd install is broken.
6 years ago
Dylan Baker
097faee83b
run_project_tests: add support for loading cross files
6 years ago
Dylan Baker
30cf4f9c3a
run_project_tests: Add support for loading a native file in tests
...
The file must be called nativefile.txt
6 years ago
Nirbheek Chauhan
042f5638bf
project tests: qt is available on the macOS CI
6 years ago
Jussi Pakkanen
8eca221aac
More tests and pic.
6 years ago