Skip to content

Commit 758e683

Browse files
committed
Use CMAKE_EXECUTABLE_SUFFIX
Signed-off-by: Pavel Chekin <[email protected]>
1 parent f9f4b06 commit 758e683

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ if(TRITON_BUILD_PYTHON_MODULE)
331331
endif()
332332

333333
configure_file(
334-
"${LLVM_SYSPATH}/bin/FileCheck"
335-
"${TRITON_WHEEL_DIR}/FileCheck"
334+
"${LLVM_SYSPATH}/bin/FileCheck${CMAKE_EXECUTABLE_SUFFIX}"
335+
"${TRITON_WHEEL_DIR}/FileCheck${CMAKE_EXECUTABLE_SUFFIX}"
336336
COPYONLY)
337337

338338
endif()

scripts/requirements-test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Keep in sync with extra_require.tests from setup.py
2-
filecheck>=1.0.0; python_version >= '3.10'
32
lit
43
numpy
54
pytest

scripts/test-triton.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,8 @@ run_minicore_tests() {
275275
cd $TRITON_PROJ/python/test/unit
276276
ensure_spirv_dis
277277

278-
# Ignore language/test_frontend.py when Python < 3.10.
279-
# The test requires Python package filecheck which is not available for Python < 3.10.
280-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/4443
281278
TRITON_DISABLE_LINE_INFO=1 TRITON_TEST_SUITE=language \
282279
run_pytest_command -vvv -n ${PYTEST_MAX_PROCESSES:-8} --device xpu language/ --ignore=language/test_line_info.py --ignore=language/test_subprocess.py --ignore=language/test_warp_specialization.py \
283-
$(python -c 'import sys; print("--ignore=language/test_frontend.py" if sys.version_info < (3, 10) else "")') \
284280
-k "not test_mxfp and not test_scaled_dot"
285281

286282
TRITON_DISABLE_LINE_INFO=1 TRITON_TEST_SUITE=subprocess \

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,6 @@ def get_git_version_suffix():
809809
description="A language and compiler for custom Deep Learning operations",
810810
long_description="",
811811
install_requires=[
812-
"filecheck>=1.0.0; python_version >= '3.10'",
813812
"setuptools>=78.1.0",
814813
"importlib-metadata; python_version < '3.10'",
815814
],

0 commit comments

Comments
 (0)