Skip to content

Commit 19cdf3e

Browse files
authored
intel-compute-runtime: Fix to use OCL_ICD_VENDORDIR cmake variable (#6253)
* intel-compute-runtime: Fix to use OCL_ICD_VENDORDIR cmake variable * intel-compute-runtime: No need for using DESTDIR with intel.icd fix
1 parent 099c5dd commit 19cdf3e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

cross/intel-compute-runtime/Makefile

+1-7
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ 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
19-
CMAKE_USE_DESTDIR = 1
2018

2119
DEPENDS = cross/intel-gmmlib
2220
DEPENDS += cross/intel-graphics-compiler
@@ -31,6 +29,7 @@ BUILD_DEPENDS += cross/Khronos-SPIRV-Headers
3129
CMAKE_ARGS += -DIGC_DIR=$(STAGING_INSTALL_PREFIX)
3230
CMAKE_ARGS += -DNEO_DISABLE_LD_GOLD:BOOL='ON'
3331
CMAKE_ARGS += -DSKIP_UNIT_TESTS=1
32+
CMAKE_ARGS += -DOCL_ICD_VENDORDIR=$(INSTALL_PREFIX)/etc/OpenCL/vendors/
3433

3534
include ../../mk/spksrc.cross-cmake.mk
3635

@@ -39,8 +38,3 @@ ENV += LD_LIBRARY_PATH=$(STAGING_INSTALL_PREFIX)/lib
3938
.PHONY: intel-compute-runtime_post_extract_target
4039
intel-compute-runtime_post_extract_target:
4140
@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)