llvm-capstone/mlir/test
Stella Stamenova ed98676fa4 Support multi-configuration generators correctly in several config files
Multi-configuration generators (such as Visual Studio and Xcode) allow the specification of a build flavor at build time instead of config time, so the lit configuration files need to support that - and they do for the most part. There are several places that had one of two issues (or both!):

1) Paths had %(build_mode)s set up, but then not configured, resulting in values that would not work correctly e.g. D:/llvm-build/%(build_mode)s/bin/dsymutil.exe
2) Paths did not have %(build_mode)s set up, but instead contained $(Configuration) (which is the value for Visual Studio at configuration time, for Xcode they would have had the equivalent) e.g. "D:/llvm-build/$(Configuration)/lib".

This seems to indicate that we still have a lot of fragility in the configurations, but also that a number of these paths are never used (at least on Windows) since the errors appear to have been there a while.

This patch fixes the configurations and it has been tested with Ninja and Visual Studio to generate the correct paths. We should consider removing some of these settings altogether.

Reviewed By: JDevlieghere, mehdi_amini

Differential Revision: https://reviews.llvm.org/D96427
2021-02-11 09:32:20 -08:00
..
Analysis [mlir] Add initial support for an alias analysis framework in MLIR 2021-02-09 14:21:27 -08:00
Bindings [mlir] Add Python bindings for IntegerSet 2021-01-26 17:32:51 +01:00
CAPI [MLIR] Add context accessor to identifier 2021-02-09 13:21:30 -08:00
Conversion [MLIR][TOSA] Tosa elementwise broadcasting 2021-02-10 15:28:18 -08:00
Dialect [mlir][Linalg] Add conv ops with TF definition. 2021-02-10 22:59:38 -08:00
EDSC [mlir][Affine] Revisit and simplify composeAffineMapAndOperands. 2021-01-19 13:52:07 +00:00
Examples [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
IR [mlir][Linalg] Drop SliceOp 2021-02-04 11:22:01 +00:00
lib [mlir][sparse] sparse tensor storage implementation 2021-02-10 11:57:24 -08:00
mlir-cpu-runner [mlir] Turn Linalg to LLVM into a partial conversion 2021-02-05 14:31:19 +01:00
mlir-cuda-runner [mlir] Add gpu async integration test. 2021-02-03 21:45:23 +01:00
mlir-linalg-ods-gen [mlir][linalg] Verify indexing map required attributes 2021-02-09 08:48:29 -05:00
mlir-opt [mlir] Add Complex dialect. 2021-01-15 19:58:10 +01:00
mlir-reduce [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
mlir-rocm-runner [mlir] NFC: split --shared-libs option into multiple lines. 2021-01-28 18:54:05 +01:00
mlir-spirv-cpu-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-tblgen Fix side-effect detection in LLVMIRIntrinsicGen. 2021-02-10 00:48:16 +00:00
mlir-translate [mlir] Print the correct tool name in mlirTranslateMain 2021-01-05 19:17:01 -08:00
mlir-vulkan-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
Pass Avoid using /dev/null in test 2020-12-30 14:16:13 -08:00
Rewrite [mlir][PDL] Add support for PDL bytecode and expose PDL support to OwningRewritePatternList 2020-12-01 15:05:50 -08:00
SDBM Remove global dialect registration 2020-10-24 00:35:55 +00:00
Target Add LLVMIR Dialect counterparts of @llvm.maximum and @llvm.minimum. 2021-02-10 00:57:43 +00:00
Transforms [MLIR] [affine-loop-fusion] Fix a bug about non-result ops in affine-loop-fusion 2021-02-06 13:30:16 +05:30
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
APITest.h
CMakeLists.txt Fix CMake configuration for MLIR unittests 2021-02-11 01:17:49 +00:00
lit.cfg.py [MLIR] [CMake] Support building MLIR standalone 2021-02-02 13:10:21 -06:00
lit.site.cfg.py.in Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00