File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,10 @@ if(UNIX)
5959
6060 set (OCL_ICD_RUNTIME_NAME libigdrcl.so)
6161 install (
62- CODE "file( WRITE ${IGDRCL_BINARY_DIR} /libintelopencl.conf \" /opt/intel/opencl\n\" )"
63- CODE "file( WRITE ${IGDRCL_BINARY_DIR} /intel.icd \" /opt/intel/opencl/${OCL_ICD_RUNTIME_NAME} \n\" )"
64- CODE "file( WRITE ${IGDRCL_BINARY_DIR} /postinst \" echo /opt/intel/opencl >> ${_dir_etc} /ld.so.conf\n\" )"
65- CODE "file( APPEND ${IGDRCL_BINARY_DIR} /postinst \" /sbin/ldconfig\n\" )"
66- CODE "file( WRITE ${IGDRCL_BINARY_DIR} /postrm \" sed -i '/\\\\ /opt\\\\ /intel\\\\ /opencl.*$/d' ${_dir_etc} /ld.so.conf\n\" )"
67- CODE "file( APPEND ${IGDRCL_BINARY_DIR} /postrm \" /sbin/ldconfig\n\" )"
62+ CODE "file( WRITE ${IGDRCL_BINARY_DIR} /libintelopencl.conf \" /opt/intel/opencl\n\" )"
63+ CODE "file( WRITE ${IGDRCL_BINARY_DIR} /intel.icd \" /opt/intel/opencl/${OCL_ICD_RUNTIME_NAME} \n\" )"
64+ CODE "file( WRITE ${IGDRCL_BINARY_DIR} /postinst \" /sbin/ldconfig\n\" )"
65+ CODE "file( WRITE ${IGDRCL_BINARY_DIR} /postrm \" /sbin/ldconfig\n\" )"
6866 COMPONENT igdrcl
6967 )
7068 install (FILES ${IGDRCL_BINARY_DIR} /libintelopencl.conf DESTINATION ${_dir_etc} /ld.so.conf.d COMPONENT igdrcl)
You can’t perform that action at this time.
0 commit comments