From aa735edb8a9503cba891fe4726d42411524bf3a9 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Thu, 6 Feb 2025 21:14:38 +0100 Subject: [PATCH 1/2] [HIPIFY][#1841][build] Add execution permition to `hipify-perl` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44b0f17e..ad7a3f8e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -181,7 +181,6 @@ if (NOT HIPIFY_CLANG_TESTS_ONLY) install( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin DESTINATION . - PATTERN "hipify-perl" PATTERN "*.sh" PATTERN "findcode.sh" EXCLUDE PATTERN "findcode_headers.sh" EXCLUDE @@ -192,6 +191,7 @@ if (NOT HIPIFY_CLANG_TESTS_ONLY) set(HIPIFY_LIBEXEC_INSTALL_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBEXECDIR}/hipify") install( + PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/bin/hipify-perl PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/bin/findcode.sh PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/bin/findcode_headers.sh PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/bin/findcode_sources.sh From fa6306df3b1bd922d1d50ad839a59c86c53c5108 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Fri, 7 Feb 2025 15:06:00 +0100 Subject: [PATCH 2/2] [HIPIFY][doc][tests] `Python 3.13.2` is the latest Python version supported by `hipify-clang` lit testing --- docs/building/building-hipify.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/building/building-hipify.rst b/docs/building/building-hipify.rst index c7ad273b..d3adff27 100644 --- a/docs/building/building-hipify.rst +++ b/docs/building/building-hipify.rst @@ -292,7 +292,7 @@ Minimum build system requirements for the above configurations: Recommended build system requirements: -* CMake 3.31.2, GNU C/C++ 13.2, Python 3.13.1. +* CMake 3.31.2, GNU C/C++ 13.2, Python 3.13.2. Here's how to build ``hipify-clang`` with testing support on ``Ubuntu 23.10.01``: @@ -338,7 +338,7 @@ The corresponding successful output is: -- - Binary path : /usr/llvm/19.1.7/dist/bin -- Linker detection: GNU ld -- ---- The below configuring for hipify-clang testing only ---- - -- Found Python: /usr/bin/python3.13 (found suitable version "3.13.1", required range is "3.0...3.14") found components: Interpreter + -- Found Python: /usr/bin/python3.13 (found suitable version "3.13.2", required range is "3.0...3.14") found components: Interpreter -- Found lit: /usr/local/bin/lit -- Found FileCheck: /GIT/LLVM/trunk/dist/FileCheck -- Initial CUDA to configure: @@ -376,7 +376,7 @@ The corresponding successful output is: x86_64 - Platform architecture Linux 6.5.0-15-generic - Platform OS 64 - hipify-clang binary bitness - 64 - python 3.13.1 binary bitness + 64 - python 3.13.2 binary bitness =============================================================== -- Testing: 106 tests, 12 threads -- Testing Time: 6.91s @@ -471,13 +471,13 @@ Tested configurations: - ``8.0.5 - 9.7.0`` - ``2019.16.11.42, 2022.17.12.3`` - ``3.31.2`` - - ``3.13.1`` + - ``3.13.2`` * - ``19.1.0 - 19.1.7`` - ``7.0 - 12.6.3`` - ``8.0.5 - 9.7.0`` - ``2019.16.11.42, 2022.17.12.3`` - ``3.31.2`` - - ``3.13.1`` + - ``3.13.2`` :sup:`5` LLVM 14.x.x is the latest major release supporting Visual Studio 2017. @@ -538,7 +538,7 @@ The corresponding successful output is: -- - LLVM Include path : D:/LLVM/19.1.7/dist/include -- - Binary path : D:/LLVM/19.1.7/dist/bin -- ---- The below configuring for hipify-clang testing only ---- - -- Found Python: C:/Users/TT/AppData/Local/Programs/Python/Python313/python.exe (found suitable version "3.13.1", required range is "3.0...3.14") found components: Interpreter + -- Found Python: C:/Users/TT/AppData/Local/Programs/Python/Python313/python.exe (found suitable version "3.13.2", required range is "3.0...3.14") found components: Interpreter -- Found lit: C:/Users/TT/AppData/Local/Programs/Python/Python313/Scripts/lit.exe -- Found FileCheck: D:/LLVM/19.1.7/dist/bin/FileCheck.exe -- Initial CUDA to configure: