summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/__init__.py
AgeCommit message (Collapse)Author
2018-07-05Fix flake8 issues (#3834)Jon Turney
* Fix flake8 whitespace reports $ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)' ./mesonbuild/coredata.py:337:5: E303 too many blank lines (2) * Fix flake8 'variable assigned value but unused' reports $ flake8 | grep -E F841 ./mesonbuild/modules/gnome.py:922:9: F841 local variable 'target_name' is assigned to but never used * Fix flake8 'imported but unused' reports $ flake8 | grep F401 ./mesonbuild/compilers/__init__.py:128:1: F401 '.c.ArmclangCCompiler' imported but unused ./mesonbuild/compilers/__init__.py:138:1: F401 '.cpp.ArmclangCPPCompiler' imported but unused ./mesonbuild/modules/__init__.py:4:1: F401 '..mlog' imported but unused PR #3717 imports ARMCLANG compilers in __init__, but does not add them to __all__, so they are not re-exported by the compilers package like everything else. * More details about flake8 in Contributing.md Mention that Sider runs flake8 Suggest seting flake8 as a pre-commit hook
2018-06-21Added ARMCLANG compiler support for C/C++ (#3717)Vasu Penugonda
2018-06-20Rename clike_langs to clink_langs for clarityNirbheek Chauhan
D is not a 'c-like' language, but it can link to C libraries. The same might be true of Rust in the future and Go when we add support for it. This contains no functionality changes.
2018-06-20dependencies: Don't assume self.compiler is a C compilerNirbheek Chauhan
All dependencies were using find_library, has_header, get_define, etc on self.compiler assuming that it's a compiler that outputs and consumes C-like libraries. This is not true for D (and in the future, for Rust) since although they can consume C libraries, they do not use the C ecosystem. For such purposes, we now have self.clib_compiler. Nothing uses self.compiler anymore as a result, and it has been removed.
2018-06-18macos: Rewrite install_name for dependent built libraries on installNirbheek Chauhan
On macOS, we set the install_name for built libraries to @rpath/libfoo.dylib, and when linking to the library, we set the RPATH to its path in the build directory. This allows all built binaries to be run as-is from the build directory (uninstalled). However, on install, we have to strip all the RPATHs because they point to the build directory, and we change the install_name of all built libraries to the absolute path to the library. This causes the install name in binaries to be out of date. We now change that install name to point to the absolute path to each built library after installation. Fixes https://github.com/mesonbuild/meson/issues/3038 Fixes https://github.com/mesonbuild/meson/issues/3077 With this, the default workflow on macOS matches what everyone seems to do, including Autotools and CMake. The next step is providing a way for build files to override the install_name that is used after installation for use with, f.ex., private libraries when combined with the install_rpath: kwarg on targets.
2018-06-06optinterpreter: Remove duplicated list of languagesXavier Claessens
It is important to keep the list of languages up to date in optinterpreter, otherwise we could have conflicting options when adding new languages.
2018-06-06Fix issues found by flake8Xavier Claessens
2018-04-16Merged Arm CC support.Jussi Pakkanen
2018-04-15Merge pull request #3115 from makise-homura/e2k-lcc-supportJussi Pakkanen
Support lcc compiler for e2k (Elbrus) architecture
2018-03-27Updates to CPP support and update review changesSomasekhar Penugonda
2018-03-19Added Elbrus lcc compilers support as inheritance from gcc onesmakise-homura
2018-03-14- Updating cpp_std options similar to other compiler classesBedarkar, Malhar
- Updating environment.py for selecting '--vsn' option for armcc only. - Updating build type arguments from GitHub pull request - 3157 Change-Id: Id3151e7715ec1016afdbd65391bb0d414ec7de13
2018-03-05First cut of ARMCC support for MESON.Bedarkar, Malhar
Change-Id: I15d8258e84d392baaccb8f670e33eefcfe8cd49a
2018-02-25Add support for Visual Studio csc c# compilerThibault Saunier
2017-06-23Split out languages from compilers.pyAlistair Thomas
2017-06-22Converted compilers.py to a sub-packageAlistair Thomas