Skip to content

Commit c36b213

Browse files
committed
intel-compute-runtime: Fix to use OCL_ICD_VENDORDIR cmake variable
1 parent 0d6280e commit c36b213

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cross/intel-compute-runtime/Makefile

+1-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ COMMENT = The Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL
1414
LICENSE = MIT license
1515

1616
POST_EXTRACT_TARGET = intel-compute-runtime_post_extract_target
17-
POST_INSTALL_TARGET = intel-compute-runtime_post_install_target
1817
CMAKE_USE_NINJA = 0
1918
CMAKE_USE_DESTDIR = 1
2019

@@ -31,6 +30,7 @@ BUILD_DEPENDS += cross/Khronos-SPIRV-Headers
3130
CMAKE_ARGS += -DIGC_DIR=$(STAGING_INSTALL_PREFIX)
3231
CMAKE_ARGS += -DNEO_DISABLE_LD_GOLD:BOOL='ON'
3332
CMAKE_ARGS += -DSKIP_UNIT_TESTS=1
33+
CMAKE_ARGS += -DOCL_ICD_VENDORDIR=$(INSTALL_PREFIX)/etc/OpenCL/vendors/
3434

3535
include ../../mk/spksrc.cross-cmake.mk
3636

@@ -39,8 +39,3 @@ ENV += LD_LIBRARY_PATH=$(STAGING_INSTALL_PREFIX)/lib
3939
.PHONY: intel-compute-runtime_post_extract_target
4040
intel-compute-runtime_post_extract_target:
4141
@cd $(WORK_DIR) && ln -s $(PKG_DIR) $(PKG_NAME)
42-
43-
.PHONY: intel-compute-runtime_post_install_target
44-
intel-compute-runtime_post_install_target:
45-
@install -m 755 -d $(STAGING_INSTALL_PREFIX)/etc/OpenCL/vendors/
46-
@install -m 644 $(INSTALL_DIR)/etc/OpenCL/vendors/intel.icd $(STAGING_INSTALL_PREFIX)/etc/OpenCL/vendors/

0 commit comments

Comments
 (0)