Commit Graph

24 Commits

Author SHA1 Message Date
e667886700 package separation
Do not add intel-graphics-compiler nor intel-gmmlib libraries to Neo
package.

Change-Id: I97a8ca77ddcdcbd633e3bc99296938faefbc0327
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-25 11:55:28 +02:00
31bf5b9b43 disable automatic shared libraries dependency detection for RPMs
Change-Id: I439d5ab66a7ea505bc3ecb144053646682a5c9e3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-18 19:46:05 +02:00
7cee7e96ab package: fix 3rd party libs bundling
This will be removed very soon however we need this change to make
package working correctly.

Change-Id: Id02e11b6f6090089f622a5cd19c4490c1d3de0dd
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-18 18:07:49 +02:00
4828c7476c cmake/package: set proper permissions for scripts
postinst and postrm scripts should have execute permissions

Change-Id: I7c3c905a28e8b066de4b67a7c52e55496d9b591e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-17 13:26:00 +02:00
b331046fde append architecture suffix to generated tar package name
Change-Id: Ic1066418ce76ead8a6115aa3978b0428f8e73ed1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-17 10:32:24 +02:00
118d3ed0e2 cpack: improve package naming
check cmake version and use component model for naming (>=3.6) or set
package file name based on generator.

add {?dist} to rpm package name

Change-Id: Idf723d7477ca711a250e86935cf4dbcf483cbd8a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-08 19:57:06 +02:00
04e083120e Append gmmlib to neo package
Change-Id: I39e94700a3113e12e7be72ba10eaef18ff7f6217
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-27 08:06:09 +02:00
ad099be8f5 Revert "cpack configuration refactor"
This reverts commit 18f6d6a25b.

Change-Id: If0f3144212a8ac693abc63e35c15a7428d7c494a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-25 21:26:42 +02:00
18f6d6a25b cpack configuration refactor
- change package name to "intel"
- change component name to "opencl"

Change-Id: I24eb1f9b54e8c3ddb12a7c93623e727b5f4dcbd0
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-24 16:21:54 +02:00
8334d424ba add script to set copyright header for source files
this works for:
- C/C++ files
- files where comment is #

Change include set of simple tests.

Change-Id: I1c08c6c359e2a48957d5d81397c439508ae06c42
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-18 19:12:13 +02:00
b1d020485a remove directories from rpm package
- to fix conflicts with filesystem package on Centos 7

https://github.com/intel/compute-runtime/pull/80

Change-Id: I715e76058815f0b12b2c7f8fab6d56b35f776a9f
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-09-04 13:53:56 +02:00
317e6c08f4 use GNUInstallDirs to detect locations
Change-Id: I288a0420caaaa6965e1e7f2f6f1a1491682d407a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-28 13:40:10 +02:00
bc7aa63a37 package: respect CMAKE_INSTALL_PREFIX
don't force /opt/intel/opencl which is location of legacy Intel OpenCL
driver. Use CMAKE_INSTALL_PREFIX to install driver in location where
user wants

Change-Id: I2b55a2ec8129a06ee6a0e97a7adcfa69084e3502
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-27 15:15:45 +02:00
21f2350923 package: fix package version deduction
We should check if variables NEO_VERSION_MAJOR, NEO_VERSION_MINOR and
NEO_VERSION_BUILD are defined instead of checking for values. this
allows to set values like '0' which was expanded to false.

Change-Id: I0ceaf0e19053cae29bee78e77f574b92771e2d3f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-27 23:06:56 +02:00
5fb22eeae1 stop using ld.so.conf in postinst scripts
Change-Id: I84ef7407fdc9bef7d4f193728fa41105fe3d9a9a
2018-04-11 10:49:24 +02:00
c408bb5d8d Revert "package: remove obsolete scripts"
This reverts commit 049b202c6c.

Change-Id: I51ea65dcd086347745ffcf4a97366b3db1646817
2018-04-10 17:45:51 +02:00
049b202c6c package: remove obsolete scripts
these scripts are obsolete because we use libintelopencl.conf in
/etc/ld.so.conf.d.

Change-Id: I5f1c2fa856e8497ab1561e7ed65cde1f28570d99
2018-03-23 10:06:11 +01:00
ca86fe2461 package: add URL to Neo landing page
Change-Id: I7ccdcd6fc454c07321e0d39153daca00b78eae46
2018-03-22 09:08:03 +01:00
cc30c2948e Clearlinux: default cfg files go to /usr/share/defaults/etc instead of /etc
Change-Id: I0c9fcb82f278b1ffab09b352f6b43103d6645484
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
2018-03-21 13:26:49 -07:00
ce828748ab do not bundle ICD Loader into package
ICD Loader is external package not part of Intel GPU runtime. It
shouldn't be bundled in our package

Change-Id: Iad29e650e9ad4d244ab4ed8bacbe9ab1ff96b4dd
2018-03-21 18:45:43 +01:00
2fd122398f package: don't use hardcoded names of library names
we already receive target names as a variable. let's use this when
creating package

Change-Id: Ib49ca4360b78b3edab87fd0bbef90f651f1df865
2018-03-08 23:34:56 +01:00
8744ddcfd3 use shlibdeps to generate dependecy list for DEB package
CPackDeb has support for CPACK_DEBIAN_PACKAGE_SHLIBDEPS options. it
allows to improve dependency generation.

Change-Id: I4b87611409476e98ffb5fc66ab7083c63e2739ea
2018-02-27 11:34:47 +01:00
0c92f8fdfa update LIMITATIONS.md
We no longer hard-require to have Khronos ICD. Neo can work with ocl-icd.
Removing warning about above reported by cmake.

Change-Id: Icf24a04b531092751de10229d0e452eebe729c98
2018-02-26 15:50:03 +01:00
7e9ad41290 Initial commit
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00