Matthias Springer | 579d527 | 2022-08-25 09:37:22 +0200 | [diff] [blame] | 1 | # Copyright 2022 The IREE Authors |
| 2 | # |
| 3 | # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| 4 | # See https://llvm.org/LICENSE.txt for license information. |
| 5 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 7 | load("//build_tools/bazel:iree_lit_test.bzl", "iree_lit_test_suite") |
Matthias Springer | 579d527 | 2022-08-25 09:37:22 +0200 | [diff] [blame] | 8 | |
| 9 | package( |
| 10 | features = ["layering_check"], |
| 11 | licenses = ["notice"], # Apache 2.0 |
| 12 | ) |
| 13 | |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 14 | iree_lit_test_suite( |
| 15 | name = "lit", |
Nicolas Vasilache | a81c3cf | 2023-01-10 09:21:48 +0100 | [diff] [blame] | 16 | srcs = [ |
Quinn Dawkins | 466e812 | 2023-10-25 12:42:26 -0400 | [diff] [blame] | 17 | "matmul_library_call.mlir", |
Nicolas Vasilache | a81c3cf | 2023-01-10 09:21:48 +0100 | [diff] [blame] | 18 | ], |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 19 | cfg = "//tests:lit.cfg.py", |
| 20 | # transform dialect spec files are MLIR files that specify a transformation, |
| 21 | # they need to be included as data. |
| 22 | data = [ |
Quinn Dawkins | 466e812 | 2023-10-25 12:42:26 -0400 | [diff] [blame] | 23 | "transform_library.mlir", |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 24 | ], |
| 25 | tags = [ |
Scott Todd | 17b6c4c | 2024-01-30 16:49:38 -0800 | [diff] [blame] | 26 | "hostonly", |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 27 | "noasan", |
| 28 | "nomsan", |
| 29 | "notsan", |
| 30 | "noubsan", |
| 31 | ], |
| 32 | tools = [ |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 33 | "//tools:iree-compile", |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 34 | "//tools:iree-run-module", |
Jacques Pienaar | 906995e | 2022-10-01 07:34:18 -0700 | [diff] [blame] | 35 | "@llvm-project//lld", |
Matthias Springer | 5765e4c | 2022-09-09 16:41:12 +0200 | [diff] [blame] | 36 | "@llvm-project//llvm:FileCheck", |
| 37 | ], |
| 38 | ) |