1 2 3 4 5
#! /usr/bin/env sh OUT=$(mktemp -d) /opt/rocm/bin/hipcc -o "$OUT"/test test.cpp -lhipsparse -lrocsparse "$OUT"/test