Michael Hirsch, Ph.D
627d0d1f3e
BUGFIX: ignore non-ascii Fortran characters
6 years ago
Daniel Mensinger
0ce02b57d7
Renamed type classes
6 years ago
Michael Hirsch, Ph.D
eccc59874d
BUGFIX: handle Fortran 2003 "use" syntax
6 years ago
Yeongjin Jeong
a75bda7154
mtest: Don't use thread executor when enabled gdb in test_setup
...
If the global gdb option of mesontest is disabled (e.g. not set '--gdb')
and the gdb option of test_setup is enabled, an exception will be thrown.
Because signal.signal function can only be called from the main thread.
If attempting to call it from other threads will cause a ValueError exception to be raised.
6 years ago
Jussi Pakkanen
711f73e386
Merge pull request #4860 from nioncode/fixPch
...
Fix missing PCH dependencies
6 years ago
ericLemanissier
bb3997a39c
fix documentation typo for default_library option [skip ci]
6 years ago
Jussi Pakkanen
849667c981
Fix Cuda doc page heading. [skip ci]
6 years ago
Luís Ferreira
8a4a75cc59
dub: fix detecting packages with different compilers and archs
...
Fix 'not founded' message for packages with another name for
specific configurations instead of just 'library'.
Signed-off-by: Luís Ferreira <lsferreira169@gmail.com>
6 years ago
Michael Hirsch, Ph.D
70e6f4198c
Fortran 2008 submodule ( #4874 )
6 years ago
Christoph Reiter
db61d018ce
ci/msys2: use the msys2 ninja
...
msys2 now has ninja 1.9.0 which includes the timestamp fixes
6 years ago
Luís Ferreira
b90f196f17
d: fix linker due to argument errors
...
- revert some changes on d2483d4412
commit.
Signed-off-by: Luís Ferreira <lsferreira169@gmail.com>
6 years ago
Daniel Mensinger
71d174bcbe
Fixed some code issues
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
Jussi Pakkanen
902aaf2ce6
Merge pull request #4626 from Ericson2314/consolidate-properties
...
Go through coreutils.compiler_options.{build.host.target}
6 years ago
Jussi Pakkanen
59791fc569
gnome.compile_resources: Add ld binary method
6 years ago
Jussi Pakkanen
e26b5a119e
Merge pull request #4835 from obilaniu/cudaimprovements
...
CUDA support improvements
6 years ago
Nicolas Schneider
c1fa61b7d9
vs: add PCH headers to project
...
Otherwise, they will not be visible in the IDE.
6 years ago
Christoph Reiter
1bd14b52b2
python: don't require a Python lib in case we don't link against it. Fixes #4841
...
In case extensions aren't linked against libpython we can't assume one exists at
all or is available in a known directory.
6 years ago
Daniel Mensinger
69cb314718
Fix introspection test case for solaris ( fixes #4866 )
6 years ago
Corentin Noël
08757dcdfd
vala: Support position-independent executables
6 years ago
Ninja-Koala
4775dd48a6
Fix required version
6 years ago
Ninja-Koala
0601895032
More robust name generation
6 years ago
Olexa Bilaniuk
592af0b1af
Add unstable CUDA module.
...
Includes three general utility functions connected to CUDA, in
particular the crafting of -gencode flags as done in CMake:
https://github.com/Kitware/CMake/blob/master/Modules/FindCUDA/
select_compute_arch.cmake
6 years ago
Ninja-Koala
b0832c8747
Move some additional functionality into the new function
6 years ago
John Ericson
19f81d3e33
Never access environment.properties downstream
...
Instead use coredata.compiler_options.<machine>. This brings the cross
and native code paths closer together, since both now use that.
Command line options are interpreted just as before, for backwards
compatibility. This does introduce some funny conditionals. In the
future, I'd like to change the interpretation of command line options so
- The logic is cross-agnostic, i.e. there are no conditions affected by
`is_cross_build()`.
- Compiler args for both the build and host machines can always be
controlled by the command line.
- Compiler args for both machines can always be controlled separately.
6 years ago
Ninja-Koala
34191ec018
Use triple quote string for linkerscript
6 years ago
Ninja-Koala
83d78d7b6e
Move target generation in new function
6 years ago
Ninja-Koala
b6a6076596
Disable for cross builds
6 years ago
Nicolas Schneider
3cbc7c7bd9
msvc: fix PCH staleness
6 years ago
Nicolas Schneider
2044bc53b3
use same compiler args for pch as for regular target
...
Fixes #999 , #1415 , #2361 .
6 years ago
Ninja-Koala
6026a35446
Handle minus sign correctly
6 years ago
Ninja-Koala
1f14a58d3b
Add second dependency file for c target
6 years ago
Ninja-Koala
a6f09b9754
Remove dependency file from c target
6 years ago
Ninja-Koala
27edd112e2
Fix code formatting
6 years ago
Ninja-Koala
b4f04a67de
gnome.compile_resources: Add ld binary method
...
Instead of generating a c file that gets compiled,
directly create object file with ld.
See https://gitlab.gnome.org/GNOME/glib/issues/1489
6 years ago
John Ericson
6dbe33d949
C# and Java compilers should have `is_cross = False`
...
All compilers should define this attribute. Probably should change base
class to require this.
6 years ago
Daniel Mensinger
da7b9df16c
Ensure that func dicts provide the same set of functions
6 years ago
Nirbheek Chauhan
79c087bad2
macos: lipo outputs aarch64 as arm64, fix it
...
Or we'll reject arm64 objects as invalid when building for aarch64
6 years ago
Nirbheek Chauhan
8a7537ce24
qt: Only look for a framework on macOS if building for macOS
...
When building for iOS, the Qt binaries only contain static libraries
and headers. No framework.
With this, Meson can successfully compile and link to Qt on iOS
6 years ago
Michael Hirsch, Ph.D
8821c0aadc
better handle variable HDF5 setups, update Fortran compiler def
6 years ago
Daniel Mensinger
e1a83793ae
CMake: Added support for CMAKE_MODULE_PATH and extra CMake args ( closes #4779 )
6 years ago
Jussi Pakkanen
abad2ff005
Merge pull request #4831 from scivision/hdf5
6 years ago
Nirbheek Chauhan
310b518921
env: Add a repr() for MachineInfo
...
Makes it easier to debug with print()
6 years ago
Nirbheek Chauhan
b5f6be6733
macos: lipo from older xcode does not support -archs
6 years ago
Nirbheek Chauhan
50b863032e
find_library: Check arch of libraries on Darwin
...
macOS provides the tool `lipo` to check the archs supported by an
object (executable, static library, dylib, etc). This is especially
useful for fat archives, but it also helps with thin archives.
Without this, the linker will fail to link to the library we mistakenly
'found' like so:
ld: warning: ignoring file /path/to/libfoo.a, missing required architecture armv7 in file /path/to/libfoo.a
6 years ago
Elliott Sales de Andrade
52936e4a46
Add tsan and ubsan to g-ir-scanner workaround.
...
Both of these need to link to their respective libraries to build.
6 years ago
Nirbheek Chauhan
1575bd988a
configure_file: Allow setting install_dir: false with deprecation
...
Also add location node for two more deprecations
See: https://github.com/mesonbuild/meson/pull/4489#issuecomment-459246879
6 years ago
Nirbheek Chauhan
042f5638bf
project tests: qt is available on the macOS CI
6 years ago
Nirbheek Chauhan
bd8eff7438
qtdep: Look for QMAKE env var again + sprinkle debug
...
We used to look for the QMAKE env var in earlier versions of Meson,
start looking for it again.
6 years ago