File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,15 @@ jobs:
4040 run : |
4141 cd GPULlama3.java/external/tornadovm
4242 source venv/bin/activate
43- make # Uses the initial TORNADO_SDK from env
43+
44+ # Use a different Maven command to ensure the opencl-backend is used
45+ ./mvnw -Pjdk21,opencl-backend -Dtornado.backend=opencl install
4446
4547 # After build, find and update TORNADO_SDK to the actual SDK location
46- TORNADO_SDK_DIR=$(ls -d dist/tornado-sdk/tornado-sdk-* | head -1)
48+ # Look for the OpenCL specific directory instead of tornado-sdk-*
49+ TORNADO_SDK_DIR=$(ls -d dist/tornadovm-*-opencl-linux-amd64 | head -1)
50+
51+ # The SDK might be one level deeper, depending on the structure, but we'll try this first.
4752 FULL_TORNADO_SDK="${PWD}/${TORNADO_SDK_DIR}"
4853 echo "TORNADO_SDK=${FULL_TORNADO_SDK}" >> $GITHUB_ENV
4954 echo "Updated TORNADO_SDK to: ${FULL_TORNADO_SDK}"
You can’t perform that action at this time.
0 commit comments