Skip to content

Commit b8350a0

Browse files
authored
[ci] test
1 parent cc30026 commit b8350a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-run.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
cd GPULlama3.java/external/tornadovm
4242
source venv/bin/activate
4343
44-
# Use a different Maven command to ensure the opencl-backend is used
45-
./mvnw -Pjdk21,opencl-backend -Dtornado.backend=opencl install
44+
# Use the target that explicitly selects the Graal JDK 21 profile.
45+
make graal-jdk-21
4646
47-
# After build, find and update TORNADO_SDK to the actual SDK location
48-
# Look for the OpenCL specific directory instead of tornado-sdk-*
47+
# The subsequent path finding logic needs to be robust:
48+
# Assuming the 'bin/compile' script correctly creates the SDK in a known location.
49+
# Based on the previous successful log fragment, we'll search for the OpenCL SDK name.
4950
TORNADO_SDK_DIR=$(ls -d dist/tornadovm-*-opencl-linux-amd64 | head -1)
5051
51-
# The SDK might be one level deeper, depending on the structure, but we'll try this first.
5252
FULL_TORNADO_SDK="${PWD}/${TORNADO_SDK_DIR}"
5353
echo "TORNADO_SDK=${FULL_TORNADO_SDK}" >> $GITHUB_ENV
5454
echo "Updated TORNADO_SDK to: ${FULL_TORNADO_SDK}"

0 commit comments

Comments
 (0)