Skip to content

Commit

Permalink
Clean up LLVM dependency code (#1590)
Browse files Browse the repository at this point in the history
Add tag to fix some pytest warnings
  • Loading branch information
AlexBrownAMD authored Sep 16, 2022
1 parent f16ee7a commit 6cfd8a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
8 changes: 1 addition & 7 deletions HostLibraryTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,7 @@ set(test_sources ${test_sources}
)

if(TENSILE_USE_LLVM)
find_package(LLVM 13.0 QUIET CONFIG)
if(NOT LLVM_FOUND)
find_package(LLVM 12.0 QUIET CONFIG)
if(NOT LLVM_FOUND)
find_package(LLVM REQUIRED CONFIG)
endif()
endif()
find_package(LLVM REQUIRED CONFIG)

set(test_sources ${test_sources}
ContractionLibraryLoading_test.cpp
Expand Down
8 changes: 1 addition & 7 deletions Tensile/Source/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@ set(tensile_sources ${tensile_sources}
)

if(TENSILE_USE_LLVM)
find_package(LLVM 13.0 QUIET CONFIG)
if(NOT LLVM_FOUND)
find_package(LLVM 12.0 QUIET CONFIG)
if(NOT LLVM_FOUND)
find_package(LLVM REQUIRED CONFIG)
endif()
endif()
find_package(LLVM REQUIRED CONFIG)

set(tensile_sources ${tensile_sources}
source/llvm/YAML.cpp
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ markers =
convolution
convolution-vs-contraction
direct_to_lds
direct_to_vgpr
dot2
double_complex
fast
Expand Down

0 comments on commit 6cfd8a7

Please sign in to comment.