Files
mines/rin/miner/gpu/RinHash-hip/build-hip.bat
Dobromir Popov f5b05ce531 amd gpu scalffold
2025-09-05 03:36:28 +03:00

19 lines
395 B
Batchfile

@echo off
setlocal
where hipcc >nul 2>nul
if errorlevel 1 (
echo ERROR: hipcc not found. Please install ROCm/HIP toolchain.
exit /b 1
)
if not exist build mkdir build
cd build
cmake -G "Ninja" -DHIP_PLATFORM=amd -DCMAKE_BUILD_TYPE=Release ..
if errorlevel 1 exit /b 1
cmake --build . -j
if errorlevel 1 exit /b 1
cd ..
echo Build done. Executable should be at build\rinhash-hip-miner.exe