blob: 72cbfe5f0555acf3c6dbf495f8e23956bb86edfe [file] [log] [blame]
Matthias Springer579d5272022-08-25 09:37:22 +02001# 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 Springer5765e4c2022-09-09 16:41:12 +02007load("//build_tools/bazel:iree_lit_test.bzl", "iree_lit_test_suite")
Matthias Springer579d5272022-08-25 09:37:22 +02008
9package(
10 features = ["layering_check"],
11 licenses = ["notice"], # Apache 2.0
12)
13
Matthias Springer5765e4c2022-09-09 16:41:12 +020014iree_lit_test_suite(
15 name = "lit",
Nicolas Vasilachea81c3cf2023-01-10 09:21:48 +010016 srcs = [
Quinn Dawkins466e8122023-10-25 12:42:26 -040017 "matmul_library_call.mlir",
Nicolas Vasilachea81c3cf2023-01-10 09:21:48 +010018 ],
Matthias Springer5765e4c2022-09-09 16:41:12 +020019 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 Dawkins466e8122023-10-25 12:42:26 -040023 "transform_library.mlir",
Matthias Springer5765e4c2022-09-09 16:41:12 +020024 ],
25 tags = [
Scott Todd17b6c4c2024-01-30 16:49:38 -080026 "hostonly",
Matthias Springer5765e4c2022-09-09 16:41:12 +020027 "noasan",
28 "nomsan",
29 "notsan",
30 "noubsan",
31 ],
32 tools = [
Matthias Springer5765e4c2022-09-09 16:41:12 +020033 "//tools:iree-compile",
Matthias Springer5765e4c2022-09-09 16:41:12 +020034 "//tools:iree-run-module",
Jacques Pienaar906995e2022-10-01 07:34:18 -070035 "@llvm-project//lld",
Matthias Springer5765e4c2022-09-09 16:41:12 +020036 "@llvm-project//llvm:FileCheck",
37 ],
38)