From 2b3499ded0fed4ce4968c4a39569e69fa8f7f630 Mon Sep 17 00:00:00 2001 From: Stella Laurenzo Date: Mon, 11 Mar 2024 21:27:42 -0700 Subject: [PATCH] Fix --- .github/workflows/build_linux_packages.yml | 14 +++----------- CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_linux_packages.yml b/.github/workflows/build_linux_packages.yml index fd5e59b..e9157d6 100644 --- a/.github/workflows/build_linux_packages.yml +++ b/.github/workflows/build_linux_packages.yml @@ -86,19 +86,11 @@ jobs: cmake -B build -GNinja . \ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DTHEROCK_PACKAGE_VERSION="${package_version}" - #cmake --build build + cmake --build build - # - name: Build Tarballs - # run: | - # (cd build && cpack -G TXZ) - - - name: cat CPackConfig.cmake - run: | - cat build/CPackConfig.cmake - - - name: cat CPackSourceConfig.cmake + - name: Build Tarballs run: | - cat build/CPackSourceConfig.cmake + (cd build && cpack -G TXZ) - name: Report if: ${{ !cancelled() }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 727fedc..78d6f32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ include(ExternalProject) # Options ################################################################################ -set(THEROCK_PACKAGE_VERSION "git" CACHE PATH "Sets the package version string") +set(THEROCK_PACKAGE_VERSION "git" CACHE STRING "Sets the package version string") set(ROCM_GIT_DIR "${THEROCK_SOURCE_DIR}/sources" CACHE PATH "Directory of rocm-org repo checkout") message(STATUS "ROCM_GIT_DIR is set to: ${ROCM_GIT_DIR}")