Skip to content

Commit

Permalink
[TESTS][BUILD] now using llvm @ 8e5a41e8271f (triton-lang#1282)
Browse files Browse the repository at this point in the history
Now we also use the FileTest utility packaged with llvm pre-built binaries
  • Loading branch information
ptillet authored Mar 6, 2023
1 parent d9ff067 commit faabbed
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 895 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Clear cache
run: |
rm -rf ~/.triton/cache/
rm -rf ~/.triton/
- name: Update path
run: |
Expand Down Expand Up @@ -93,7 +93,6 @@ jobs:
cd python/test/unit/
pytest
- name: Run CXX unittests
run: |
cd python/
Expand All @@ -107,4 +106,4 @@ jobs:
sudo nvidia-smi -i 0 -pm 1
sudo nvidia-smi -i 0 --lock-gpu-clocks=1350,1350
pytest -vs .
sudo nvidia-smi -i 0 -rgc
sudo nvidia-smi -i 0 -rgc
9 changes: 6 additions & 3 deletions bin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
add_subdirectory(FileCheck)
# add_llvm_executable(FileCheck FileCheck/FileCheck.cpp)
# target_link_libraries(FileCheck PRIVATE LLVMFileCheck LLVMSupport)
add_custom_target(copy-FileCheck ALL
COMMAND ${CMAKE_COMMAND} -E copy
"${LLVM_LIBRARY_DIR}/../bin/FileCheck"
"${CMAKE_CURRENT_BINARY_DIR}/FileCheck"
COMMENT "Copying FileCheck to the current directory"
)

get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
Expand Down
2 changes: 0 additions & 2 deletions bin/FileCheck/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit faabbed

Please sign in to comment.