Jussi Pakkanen
af1a81fffc
Improve error message when Python is not usable. [skip ci]
6 years ago
Aleksey Gurtovoy
8ebe3d46bb
Fix faling test_msvc_toolset_version test
...
VCToolsVersion is not always set, and MS docs recommend getting the
info from a file
6 years ago
Cody Schafer
11248eb203
sanitycheckc: avoid linking sanitycheckc when cross compiling
6 years ago
Alexander Kanavin
ecbfc08dca
gnome.py: correctly pick the compiler for gtk-doc builds
6 years ago
Iñigo Martínez
05da008480
docs: Fix link to SourceSet module in the navbar [skip ci]
6 years ago
Dylan Baker
e182dba61f
dependencies/base: Set PKG_CONFIG_SYSROOT_DIR from cross file
...
In some cases it may be necessary to set PKG_CONFIG_SYSROOT_DIR, like
when you've mounted a host architecture system in an arbitrary path.
Meson will now check the cross files for a [properties]:sys_root
variable and set the PKG_CONFIG_SYSROOT_DIR environment variable based
on that variable.
Fixes #3801
Fixes #4057
6 years ago
Jussi Pakkanen
41a0292993
Switch to using Pyinstaller. Closes #5550 .
...
Cx_freeze has not been updated in a long time and does not
even work with Python > 3.5.
6 years ago
Michael Hirsch, Ph.D
31e069e93f
fortran-specific openMP tests
6 years ago
Dylan Baker
ec97bedd8a
Merge pull request #5524 from scivision/icl_ifort
...
Add ifort on Windows
6 years ago
Dylan Baker
e2039da5d9
Split attribute visibility
...
* c_function_attributes: remove 'protected' from 'visibility'
This doesn't exist on macos with the apple compiler, which always causes
failures.
Fixes #5530
* compilers: Add split visibility checks to has_function_attribute
These check for a single visibility at a time, rather than all four at
once. This allows for finer grained searches, and should make using
these checks safer across operating systems.
6 years ago
Dylan Baker
42bef8d418
run_unitests: Skip the native_file_is_pipe test on cygwin
...
Since it hangs and causes azure to time out.
6 years ago
Marcel Hollerbach
f39d2cc3bf
meson: add cache for getting options
...
calling this function too ~60 sec. before, now 0.000435 sec.
6 years ago
Michael Hirsch, Ph.D
f990c3eee4
typo
6 years ago
Michael Hirsch, Ph.D
c89aa20941
known Python 3.5 on windows workaround for subprocess(cwd=str(Path))
6 years ago
Michael Hirsch, Ph.D
2c9725a4bb
only test if Zlib found
6 years ago
Michael Hirsch, Ph.D
1d6ed8cac8
windows ifort can't do shared_library sanely
6 years ago
Michael Hirsch, Ph.D
cf7935be61
update compiler ID for windows INtel MPI
6 years ago
Michael Hirsch, Ph.D
9a3bc75410
intel windows coarray args
6 years ago
Michael Hirsch, Ph.D
838c8d642c
BUGFIX: typo for PGI C/CPP
6 years ago
Michael Hirsch, Ph.D
5b109c9ad2
correct missing argument for IntelClFortranCompiler
...
ifort passes all tests
cleanup logic
6 years ago
Jussi Pakkanen
59e5ad66f2
Keep all build dirs inside the source tree.
...
VS and virus scanners complain when generating executables
in temporary directories.
6 years ago
Michael Hirsch, Ph.D
3f531be2e7
fortran 2003 use, non_instrinsic
...
incl
inver
6 years ago
Michael Hirsch, Ph.D
9dbd5f129b
fortran submodule checks
...
fortran submodule checks
6 years ago
Michael Hirsch, Ph.D
c8d144b064
fortran include syntax checks
...
minvers
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
Dylan Baker
56f7e5c74f
coredata: Correctly handle receiving a pipe for native/cross files
...
* coredata: Correctly handle receiving a pipe for native/cross files
In some cases a cross/native file may be a pipe, such as when using bash
process replacement `meson --native-file
<([binaries]llvm-config='/opt/bin/llvm-config')`, for example. In this
case we copy the contents of the pipe into a file in the meson-private
directory so we can create a proper ninja dependency, and be able to
reload the file on --wipe/--reconfigure. This requires some extra
negotiation to preserve these native/cross files.
Fixes #5505
* run_unitests: Add a unit test for native files that are pipes
Using mkfifo.
6 years ago
Michael Hirsch, Ph.D
d61116efc1
windows project_test speedup by 2
6 years ago
Michael Hirsch, Ph.D
ef53107f14
BUGFIX: Fortran module regex handle more edge cases
6 years ago
Nirbheek Chauhan
9042130e9a
compilers: Fix bitcode and other options for objc code
...
We were setting the base options for the Objective-C compiler
manually, due to which options such as b_bitcode and b_ndebug were not
getting set at all.
The base options here are the same as for C code with the Clang
compiler, so just use the same inherited list.
Also expand the bitcode test to ObjC and ObjC++ so this doesn't happen
again.
6 years ago
Jussi Pakkanen
80856884cc
Do not check for DOS line endings in log files.
6 years ago
Jussi Pakkanen
d1dd6df37b
Increase logging for Rust CI failures.
6 years ago
Jussi Pakkanen
2cabda8d68
Fix the last remaining Rust install file list.
6 years ago
Jussi Pakkanen
6d6acab6fe
Detect broken Rust compiler setups.
6 years ago
Jussi Pakkanen
9c68d8f3f2
Run Rust shared library test via rustup to get the environment right.
6 years ago
Jussi Pakkanen
94ca81b228
Add Rust generated pdbs to list of installed files.
6 years ago
Jussi Pakkanen
b2cdf528b8
Made TestHarness a context manager to ensure files get closed.
6 years ago
Jussi Pakkanen
49e9e0179c
Do not quote targetdep, Ninja fails if it contains double quotes.
6 years ago
Dylan Baker
d35d7ccad1
docs: Update libdir caveat
...
Fixes #5514
6 years ago
Dylan Baker
b972ee7125
environment: Fix detection of Microsoft cl.exe with non English locales
...
This uses the fix as suggested in issue 5491, which it also fixes.
Fixes #5491
6 years ago
Dylan Baker
1df2f5e9da
Merge pull request #5516 from scivision/fortran_module_find
...
BUGFIX: Fortran: use, module, submodule with inline comment
6 years ago
Michael Hirsch, Ph.D
927ce94d99
fortran depscan: ignore module procedure
6 years ago
Michael Hirsch, Ph.D
930d2457e1
add fortarn use inline comment test
6 years ago
Michael Hirsch, Ph.D
c214859304
add inline comment test for Fortran submodule
6 years ago
Michael Hirsch, Ph.D
f652950602
add inline comment test for Fortran include
6 years ago
Michael Hirsch, Ph.D
2a7ef98aff
BUGFIX syntax
6 years ago
Michael Hirsch, Ph.D
d3294b58c4
make test more stringent by building separate library
6 years ago
Michael Hirsch, Ph.D
f7465c0887
add fortran module inline comment test
6 years ago
Aleksey Gurtovoy
2106a6020c
Skip `196 install_mode` project test on Windows
6 years ago
Jussi Pakkanen
7d8bd4ffab
Merge pull request #5457 from mensinda/cmakeRefactor
...
CMake code refactor
6 years ago
andy5995
a1ea5fd16b
Quick_guide.md:add python-setuptools and wheel
...
per IRC discussion, the wheel package isn't required but reduces
harmless warnings.
[skip ci]
6 years ago