Skip to content

Commit

Permalink
Update testing workflow to add torch location to prefix path.
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Jun 5, 2024
1 parent f49734c commit 8d68146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
export BUILD_DIR=$(pwd)/src/build
mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${BUILD_DIR} -DCMAKE_BUILD_TESTS=TRUE
echo Building in ${BUILD_DIR}
echo Torch in ${TorchDIR}
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${BUILD_DIR} -DCMAKE_BUILD_TESTS=TRUE -DCMAKE_PREFIX_PATH=${Torch_DIR}
cmake --build .
cmake --install .
Expand Down

0 comments on commit 8d68146

Please sign in to comment.