summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-config
Commit message (Collapse)AuthorAgeFilesLines
* [gn build] Commit change that should have been in r350410.Nico Weber2019-01-041-1/+1
| | | | llvm-svn: 350416
* llvm-config: Add advapi32 to --system-libs on Windows (PR36372)Hans Wennborg2018-02-231-1/+1
| | | | llvm-svn: 325894
* [llvm-config] Fix cflags test looking for "warning"Ben Langmuir2017-05-301-1/+1
| | | | | | | | This will fail if you configure with e.g. -Wno-unknown-warning-option. Change it to check for 'warning:' just like we did for 'error:' in r289484. llvm-svn: 304239
* [llvm-config] Add minimal sanity tests for path optionsMichal Gorny2017-03-151-0/+21
| | | | | | | | | | Add minimal tests that check whether path options do not fail and output directories looking like expected. Requested in https://reviews.llvm.org/rL291218. Differential Revision: https://reviews.llvm.org/D28533 llvm-svn: 297807
* [llvm-config] Canonicalize CMake booleans to 0/1Michal Gorny2017-01-101-0/+28
| | | | | | | | | | | | | | | | | | | | Following the similar change to lit configuration, ensure that all CMake booleans are canonicalized to 0/1 when being passed to llvm-config. This fixes the incorrect interpretation of values when user passes another value than the ON/OFF, and simplifies the code by removing unnecessary string matching. Furthermore, the code for --has-rtti and --has-global-isel has been modified to print consistent values indepdently of the boolean used by passed by the user to CMake. Sadly, the code already implicitly used different values for the two (YES/NO for --has-rtti, ON/OFF for --has-global-isel). Include tests for all booleans and multi-value options in llvm-config. Differential Revision: https://reviews.llvm.org/D28366 llvm-svn: 291593
* [llvm-config] Print --system-libs only when static linkingMichal Gorny2017-01-062-2/+4
| | | | | | | | | | | | | | | Modify the --system-libs option in llvm-config to print system libs only when using static linking. The system libraries are irrelevant when linking to a shared library since the library has appropriate library dependencies embedded. Modify the --system-libs test appropriately to force static linking, and disable it if static libs are not available (i.e. BUILD_SHARED_LIBS is enabled). Differential Revision: https://reviews.llvm.org/D27805 llvm-svn: 291285
* [llvm-config] Add --ignore-libllvmChris Bieneman2016-12-131-1/+1
| | | | | | This flag forces off linking libLLVM. This should resolve some issues reported on llvm-commits. llvm-svn: 289605
* [LIT] Fix system-windowsChris Bieneman2016-12-131-1/+1
| | | | | | | | Turns out if you were on windows and your default target wasn't windows the system-windows feature wasn't getting enabled. This fixes that and updates the coff-dwarf test to rely on the new "target-windows" feature. That test was the reason why system-windows was changed to not always be enabled on Windows hosts. llvm-svn: 289503
* [llvm-config] Unsupported should be win32Chris Bieneman2016-12-121-1/+1
| | | | | | Hopefully this will fix the failing Windows bot. llvm-svn: 289497
* Revert "Disable all llvm-config tests for now, will investigate later"Chris Bieneman2016-12-121-2/+0
| | | | | | | | This reverts commit r260386. These tests all pass for me locally. I have no idea if they will pass on all configurations, so I'll watch the bots closely. llvm-svn: 289490
* [llvm-config] Fix cflags test looking for "error"Chris Bieneman2016-12-121-1/+1
| | | | | | This test is (I think) actually trying to make sure no errors are printed, but it hits on the string "error" in flags. llvm-svn: 289484
* Revert "Remove system-libs.test for now"Chris Bieneman2016-12-121-0/+5
| | | | | | This reverts commit r260281. llvm-svn: 289483
* Disable all llvm-config tests for now, will investigate laterEhsan Akhgari2016-02-101-0/+2
| | | | llvm-svn: 260386
* Remove system-libs.test for nowEhsan Akhgari2016-02-091-5/+0
| | | | | | | | This test fails in the ninja-x64-msvc-RA-centos6 builder, so the UNSUPPORTED: system-windows condition is insufficient. Removing it for now; I will investigate how this can be fixed later. llvm-svn: 260281
* Fix a test added in r260263Ehsan Akhgari2016-02-091-1/+1
| | | | llvm-svn: 260280
* Fix a typo in r260263Ehsan Akhgari2016-02-091-1/+1
| | | | llvm-svn: 260269
* llvm-config: Add preliminary Windows supportEhsan Akhgari2016-02-095-0/+28
Summary: This patch adds Windows support for a few of the llvm-config commands, including cflags, ldflags, libs, and system-libs. Currently llvm-config is untested, so this patch adds tests for the commands that it fixes as well. Reviewers: rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16762 llvm-svn: 260263
OpenPOWER on IntegriCloud