From 8d68146acf653cb493f9c3f313339e4523d4d8fa Mon Sep 17 00:00:00 2001 From: Jack Atkinson Date: Wed, 5 Jun 2024 12:11:54 +0200 Subject: [PATCH] Update testing workflow to add torch location to prefix path. --- .github/workflows/test_suite.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index acb41286..b6201dc2 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -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 .