From d6274eaf4ab0bf10fb130ec5e762c73ae6ea3feb Mon Sep 17 00:00:00 2001 From: Richard Palethorpe Date: Mon, 4 Aug 2025 10:01:28 +0100 Subject: [PATCH] chore(build): Rename sycl to intel (#5964) Signed-off-by: Richard Palethorpe --- .github/workflows/image.yml | 2 +- Dockerfile | 5 +---- Makefile | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d0c175e38..3055a18d7 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -109,7 +109,7 @@ jobs: skip-drivers: 'false' makeflags: "--jobs=4 --output-sync=target" aio: "-aio-gpu-vulkan" - - build-type: 'sycl' + - build-type: 'intel' platforms: 'linux/amd64' tag-latest: 'auto' base-image: "quay.io/go-skynet/intel-oneapi-base:latest" diff --git a/Dockerfile b/Dockerfile index 6bb6571f5..81c5cc255 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,10 +100,7 @@ RUN if [ "${BUILD_TYPE}" = "hipblas" ] && [ "${SKIP_DRIVERS}" = "false" ]; then ldconfig \ ; fi -RUN expr "${BUILD_TYPE}" : sycl && \ - echo "intel" > /run/localai/capability || \ - echo "Not Intel" - +RUN expr "${BUILD_TYPE}" = intel && echo "intel" > /run/localai/capability || echo "not intel" # Cuda ENV PATH=/usr/local/cuda/bin:${PATH} diff --git a/Makefile b/Makefile index 175094385..ef4f56725 100644 --- a/Makefile +++ b/Makefile @@ -342,7 +342,7 @@ docker-image-intel: --build-arg IMAGE_TYPE=$(IMAGE_TYPE) \ --build-arg GO_TAGS="$(GO_TAGS)" \ --build-arg MAKEFLAGS="$(DOCKER_MAKEFLAGS)" \ - --build-arg BUILD_TYPE=sycl -t $(DOCKER_IMAGE) . + --build-arg BUILD_TYPE=intel -t $(DOCKER_IMAGE) . ######################################################## ## Backends