Skip to content

Commit 9d810b9

Browse files
committed
Simplify Torch_DIR
1 parent 207bb42 commit 9d810b9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/test_suite_ubuntu.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ jobs:
7575
. /opt/spack-environment/activate.sh
7676
. ftorch/bin/activate
7777
VN="$(python -c 'import sys; print(".".join(sys.version.split(".")[:2]))')"
78-
PLATFORM="$(ls /opt/software | grep linux)"
79-
COMPILER="$(ls /opt/software/${PLATFORM} | grep gcc)"
80-
PYTORCH="$(ls /opt/software/${PLATFORM}/${COMPILER} | grep py-torch-)"
81-
export Torch_DIR="/opt/software/${PLATFORM}/${COMPILER}/${PYTORCH}/lib/python${VN}/site-packages"
78+
export Torch_DIR="/opt/views/view/lib/python${VN}/site-packages"
8279
export PFUNIT_DIR="/opt/view/$(ls /opt/view | grep PFUNIT)"
8380
export BUILD_DIR="$(pwd)/src/build"
8481
mkdir "${BUILD_DIR}"

0 commit comments

Comments
 (0)