4.7 KiB
therock 7.13
https://github.com/ROCm/TheRock.git
git checkout 6d2136cd12be28c6251eb38c700e980c8c2f8cf6
python3 -m venv .venv && source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install "dvc[s3]"
python3 ./build_tools/fetch_sources.py
pip install "cmake==3.31.10"
rm -f config_full.txt build_full.txt install_full.txt
source .venv/bin/activate
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/pkg/gnu/therock \
-DTHEROCK_AMDGPU_TARGETS=gfx1150 \
-DTHEROCK_DIST_AMDGPU_FAMILIES=gfx1150 \
-DTHEROCK_ENABLE_ALL=OFF \
-DTHEROCK_ENABLE_COMPILER=ON \
-DTHEROCK_ENABLE_CORE_RUNTIME=ON \
-DTHEROCK_ENABLE_HIP_RUNTIME=ON \
-DTHEROCK_ENABLE_BLAS=ON \
-DTHEROCK_ENABLE_RAND=ON \
-DTHEROCK_ENABLE_PRIM=ON \
-DBUILD_TESTING=OFF \
. 2>&1 | tee config_full.txt
cmake --build build -j$(nproc) 2>&1 | tee build_full.txt
cmake --install build 2>&1 | tee install_full.txt
vim
cmake -B build
-DCMAKE_INSTALL_PREFIX=/pkg/gnu/therock
-DTHEROCK_AMDGPU_TARGETS=gfx1150
-DTHEROCK_DIST_AMDGPU_FAMILIES=gfx1150
. 2>&1 | tee config_full.txt
-DTHEROCK_BUNDLE_SYSDEPS=OFF \
cmake --build build -j$(nproc) 2>&1 | tee build_full.log rsync root@aura:/pkg/src/therock/{config_full.txt,install_full.txt,build_full.txt} ~/Documents/ rsync root@aura:/pkg/src/therock/{config_full.txt,build_full.txt} ~/Documents/
numactl
clang
patchelf
elfutils
lsb-release
[amd-llvm configure] CMake Error at /pkg/src/therock/compiler/amd-llvm/mlir/cmake/modules/CMakeLists.txt:63 (configure_file): [amd-llvm configure] No such file or directory [amd-llvm configure] [amd-llvm configure]
[amd-llvm] CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage [amd-llvm] CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage [amd-llvm] CMake Error at /usr/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:83 (try_compile): [amd-llvm] Failed to configure test project build system. [amd-llvm] Call Stack (most recent call first): [amd-llvm] /usr/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI) [amd-llvm] CMakeLists.txt:9 (project) [amd-llvm] [amd-llvm] [amd-llvm] CMake Error at /usr/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:83 (try_compile): [amd-llvm] Failed to configure test project build system. [amd-llvm] Call Stack (most recent call first): [amd-llvm] /usr/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI) [amd-llvm] CMakeLists.txt:9 (project) [amd-llvm] [amd-llvm] [amd-llvm] -- Configuring incomplete, errors occurred! [amd-llvm] -- Configuring incomplete, errors occurred! [amd-llvm] make[5]: *** [runtimes/CMakeFiles/builtins-amdgcn-amd-amdhsa-configure.dir/build.make:75: runtimes/builtins-amdgcn-amd-amdhsa-stamps/bui ltins-amdgcn-amd-amdhsa-configure] Error 1 [amd-llvm] make[4]: *** [CMakeFiles/Makefile2:179256: runtimes/CMakeFiles/builtins-amdgcn-amd-amdhsa-configure.dir/all] Error 2 [amd-llvm] [ 74%] Building CXX object tools/clang/tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o [amd-llvm] [ 74%] Built target MLIRLoopLikeInterface [amd-llvm] make[5]: *** [runtimes/CMakeFiles/builtins-configure.dir/build.make:75: runtimes/builtins-stamps/builtins-configure] Error 1 [amd-llvm] make[4]: *** [CMakeFiles/Makefile2:178882: runtimes/CMakeFiles/builtins-configure.dir/all] Error 2 [amd-llvm] -- The C compiler identification is Clang 23.0.0 [amd-llvm] [ 74%] Built target clangParse [amd-llvm] VERSION BUILD DEFINED version_7.15.61800-0-g72822631d4 [amd-llvm] [ 74%] Built target clangSerialization [amd-llvm] -- Not able to detect OS [amd-llvm] CMake Error at /pkg/src/therock/build/compiler/amd-llvm/prefix/NUMAConfig.cmake:22 (message): [amd-llvm] Super-project based find_package(NUMA) config file not found under [amd-llvm] /pkg/src/therock/build/third-party/sysdeps/linux/numactl/build/dist/lib/rocm_sysdeps/lib/cmake/NUMA [amd-llvm] Call Stack (most recent call first): [amd-llvm] libhsakmt/CMakeLists.txt:241 (find_package) [amd-llvm] [amd-llvm] [amd-llvm] -- Configuring incomplete, errors occurred! [amd-llvm] [ 74%] Building CXX object tools/clang/tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o [amd-llvm] [ 74%] Linking CXX static library ../../../../lib/libclangFrontend.a [amd-llvm] [ 74%] Building CXX object tools/clang/tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cp p.o [amd-llvm] make[5]: *** [runtimes/CMakeFiles/rocr-runtime.dir/build.make:92: runtimes/rocr-runtime-prefix/src/rocr-runtime-stamp/rocr-runtime-confi gure] Error 1