OSV-style builds

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
Pawel Cieslak
2021-05-27 11:53:50 +00:00
committed by Compute-Runtime-Automation
parent 7ad007ec92
commit 02017c6aba
40 changed files with 1573 additions and 1 deletions

View File

@@ -0,0 +1,87 @@
#!/usr/bin/env bash
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set -ex
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO_DIR="$( cd "$( dirname "${DIR}/../../../../" )" && pwd )"
BUILD_DIR="${REPO_DIR}/../build_opencl"
SKIP_UNIT_TESTS=${SKIP_UNIT_TESTS:-FALSE}
BRANCH_SUFFIX="$( cat ${REPO_DIR}/.branch )"
ENABLE_OPENCL="${ENABLE_OPENCL:-1}"
if [ "${ENABLE_OPENCL}" == "0" ]; then
exit 0
fi
LOG_CCACHE_STATS=:"${LOG_CCACHE_STATS:-0}"
BUILD_ID="${BUILD_ID:-1}"
CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}"
DO_NOT_RUN_AUB_TESTS="${DO_NOT_RUN_AUB_TESTS:-FALSE}"
source "${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/functions.sh"
source "${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/opencl/opencl.sh"
get_api_version # API_VERSION-API_VERSION_SRC and API_DEB_MODEL_LINK
get_opencl_version # NEO_OCL_VERSION_MAJOR.NEO_OCL_VERSION_MINOR.NEO_OCL_VERSION_BUILD
VERSION="${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}.${API_VERSION}-${API_VERSION_SRC}${API_DEB_MODEL_LINK}"
PKG_VERSION=${VERSION}
if [ "${CMAKE_BUILD_TYPE}" != "Release" ]; then
PKG_VERSION="${PKG_VERSION}+$(echo "$CMAKE_BUILD_TYPE" | tr '[:upper:]' '[:lower:]')1"
fi
rm -rf $BUILD_DIR
mkdir -p $BUILD_DIR/debian
COPYRIGHT="${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/opencl/${OS_TYPE}/copyright"
cp -pR ${REPO_DIR}/scripts/packaging/opencl/${OS_TYPE}/debian/* $BUILD_DIR/debian/
cp $COPYRIGHT $BUILD_DIR/debian/
#needs a top level CMAKE file
cat << EOF | tee $BUILD_DIR/CMakeLists.txt
cmake_minimum_required (VERSION 3.2 FATAL_ERROR)
project(igdrcl)
add_subdirectory($REPO_DIR opencl)
EOF
(
cd $BUILD_DIR
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
ccache -z
fi
export DEB_BUILD_OPTIONS="nodocs notest nocheck"
export DH_VERBOSE=1
if [ "${CMAKE_BUILD_TYPE}" != "Release" ]; then
export DH_INTERNAL_BUILDFLAGS=1
fi
if [ "${ENABLE_ULT}" == "0" ]; then
SKIP_UNIT_TESTS="TRUE"
fi
export SKIP_UNIT_TESTS
dch -v ${PKG_VERSION} -m "build $PKG_VERSION" -b
dpkg-buildpackage -j`nproc --all` -us -uc -b -rfakeroot
sudo dpkg -i --force-depends ../*.deb
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
ccache -s
ccache -s | grep 'cache hit rate' | cut -d ' ' -f 4- | xargs -I{} echo OpenCL {} >> $REPO_DIR/../output/logs/ccache.log
fi
)
mkdir -p ${REPO_DIR}/../output/dbgsym
mv ${REPO_DIR}/../*.deb ${REPO_DIR}/../output/
find ${REPO_DIR}/.. -maxdepth 1 -name \*.ddeb -type f -print0 | xargs -0r mv -t ${REPO_DIR}/../output/dbgsym/

View File

@@ -0,0 +1,103 @@
#!/usr/bin/env bash
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set -ex
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO_DIR="$( cd "$( dirname "${DIR}/../../../../" )" && pwd )"
BUILD_DIR="${REPO_DIR}/../build_opencl"
BRANCH_SUFFIX="$( cat ${REPO_DIR}/.branch )"
ENABLE_OPENCL="${ENABLE_OPENCL:-1}"
if [ "${ENABLE_OPENCL}" == "0" ]; then
exit 0
fi
LOG_CCACHE_STATS=:"${LOG_CCACHE_STATS:-0}"
BUILD_SRPM="${BUILD_SRPM:-1}"
BUILD_RPM="${BUILD_RPM:-1}"
BUILD_NUMBER="${BUILD_NUMBER:-1}"
BUILD_VERSION="${BUILD_VERSION:-dev-build}"
CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}"
export PACKAGING_DIR="$REPO_DIR/scripts/packaging/opencl/${OS_TYPE}"
export SPEC_SRC="$PACKAGING_DIR/SPECS/opencl.spec"
export SPEC="$BUILD_DIR/SPECS/opencl.spec"
export COPYRIGHT="${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/opencl/${OS_TYPE}/copyright"
BRANCH_TYPE=`cat ${REPO_DIR}/.branch`
[ -z "$BRANCH_TYPE" ] && BRANCH_TYPE='master'
(
if [ "${BUILD_SRPM}" == "1" ]; then
build_args=()
if [ "${CMAKE_BUILD_TYPE}" == "Debug" ]; then
export CFLAGS=" "
export CXXFLAGS=" "
export FFLAGS=" "
build_args+=(--define 'name_suffix -debug')
build_args+=(--define 'is_debug 1')
fi
source "${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/functions.sh"
source "${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/opencl/opencl.sh"
get_opencl_version # NEO_OCL_VERSION_MAJOR.NEO_OCL_VERSION_MINOR.NEO_OCL_VERSION_BUILD
get_api_version # API_VERSION-API_VERSION_SRC and API_RPM_MODEL_LINK
VERSION="${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}.${API_VERSION}"
RELEASE="${API_VERSION_SRC}${API_RPM_MODEL_LINK}"
#setup rpm build tree
rm -rf $BUILD_DIR
mkdir -p $BUILD_DIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
tar -c -I 'xz -6 -T0' -f $BUILD_DIR/SOURCES/compute-runtime-$VERSION.tar.xz -C $REPO_DIR --transform "s,${REPO_DIR:1},compute-runtime-$VERSION," --exclude=.git\* $REPO_DIR
cp $COPYRIGHT $BUILD_DIR/SOURCES/
cp $SPEC_SRC $BUILD_DIR/SPECS/
PATCH_SPEC="${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/patch_spec.sh"
if [ -f "$PATCH_SPEC" ]; then
source "$PATCH_SPEC"
fi
# Update spec file with new version
perl -pi -e "s/^%global rel .*/%global rel ${RELEASE}/" $SPEC
perl -pi -e "s/^%global ver .*/%global ver ${VERSION}/" $SPEC
rpmbuild --define "_topdir $BUILD_DIR" -bs $SPEC --define 'build_type ${CMAKE_BUILD_TYPE}' "${build_args[@]}"
mkdir -p ${REPO_DIR}/../output/SRPMS
echo -n ${VERSION} > ${REPO_DIR}/../output/.opencl.version
cp -v $BUILD_DIR/SRPMS/*.rpm ${REPO_DIR}/../output/SRPMS/
fi
)
if [ "${BUILD_RPM}" == "1" ]; then
rm -rf $BUILD_DIR
mkdir -p $BUILD_DIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
build_args=()
build_args+=(--define "_topdir $BUILD_DIR")
VERSION=$(cat ${REPO_DIR}/../output/.opencl.version)
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
ccache -z
fi
rpmbuild --rebuild ${REPO_DIR}/../output/SRPMS/intel-opencl-${VERSION}*.src.rpm "${build_args[@]}"
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
ccache -s
ccache -s | grep 'cache hit rate' | cut -d ' ' -f 4- | xargs -I{} echo OpenCL {} >> $REPO_DIR/../output/logs/ccache.log
fi
sudo rpm -Uvh --force $BUILD_DIR/RPMS/*/*.rpm
cp $BUILD_DIR/RPMS/*/*.rpm $REPO_DIR/../output/
fi

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set -ex
get_opencl_version() {
commit_time=$(git -C ${REPO_DIR} show -s --format=%ct)
commit_ww=($(${REPO_DIR}/scripts/neo_ww_calculator.py ${commit_time}))
date_m=${commit_ww[1]}
NEO_OCL_VERSION_MAJOR=$(echo $commit_ww | awk -F '.' '{print $1;}')
NEO_OCL_VERSION_MINOR=$(echo $commit_ww | awk -F '.' '{print $2;}')
NEO_OCL_TAG=$(git -C ${REPO_DIR} describe --abbrev=1 --tags | awk -F"." '{ nn=split($NF, nfa, "."); if(nn==2) {printf("%s-%s", nfa[1], nfa[2]);} else {print $NF;} }')
NEO_OCL_VERSION_BUILD=$(echo $NEO_OCL_TAG | awk -F '-' '{ print $1; }')
NEO_OCL_VERSION_HOTFIX=$(echo $NEO_OCL_TAG | awk -F '-' '{ if(NF>1) {printf(".%s", $2);} }')
}

View File

@@ -0,0 +1,97 @@
#it's changed by external script
%global rel i1
%global ver xxx
%define _source_payload w5T16.xzdio
%define _binary_payload w5T16.xzdio
Name: intel-opencl
Epoch: 1
Version: %{ver}
Release: %{rel}%{?dist}
Summary: Intel(R) Graphics Compute Runtime for OpenCL(TM)
Group: System Environment/Libraries
License: MIT
URL: https://github.com/intel/compute-runtime
Source0: %{url}/archive/%{version}/compute-runtime-%{version}.tar.xz
Source1: copyright
Requires: intel-gmmlib
Requires: intel-igc-opencl
BuildRequires: make libva-devel gcc-c++ cmake
BuildRequires: intel-gmmlib-devel
BuildRequires: intel-igc-opencl-devel
%description
Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source project to converge Intel's development efforts on OpenCL(TM) compute stacks supporting the GEN graphics hardware architecture.
%package -n intel-ocloc
Summary: ocloc package for opencl
Requires: intel-igc-opencl
%description -n intel-ocloc
Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source project to converge Intel's development efforts on OpenCL(TM) compute stacks supporting the GEN graphics hardware architecture.
%define debug_package %{nil}
%prep
%autosetup -p1 -n compute-runtime-%{ver}
%build
mkdir build
cd build
cmake .. \
-DNEO_VERSION_BUILD=$(ver) \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_WITH_L0=0 \
-DSKIP_UNIT_TESTS=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DRELEASE_WITH_REGKEYS=1
%make_build
%install
cd build
%make_install
chmod +x %{buildroot}/%{_libdir}/intel-opencl/libigdrcl.so
chmod +x %{buildroot}/%{_libdir}/libocloc.so
rm -f %{buildroot}/%{_libdir}/intel-opencl/libigdrcl.so.debug
rm -f %{buildroot}/%{_libdir}/libocloc.so.debug
rm -rf %{buildroot}/usr/lib/debug/
#insert license into package
mkdir -p %{buildroot}/usr/share/doc/intel-opencl/
cp -pR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-opencl/.
mkdir -p %{buildroot}/usr/share/doc/intel-ocloc/
cp -pR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-ocloc/.
%files
%defattr(-,root,root)
%{_libdir}/intel-opencl/libigdrcl.so
%config(noreplace)
/etc/OpenCL/vendors/intel.icd
/usr/share/doc/intel-opencl/copyright
%files -n intel-ocloc
%defattr(-,root,root)
%{_bindir}/ocloc
%{_libdir}/libocloc.so
%{_includedir}/ocloc_api.h
%config(noreplace)
/usr/share/doc/intel-ocloc/copyright
%doc
%changelog
* Wed May 6 2020 Pavel Androniychuk <pavel.androniychuk@intel.com> - 20.17.16650
- Update spec files to pull version automatically.
* Tue Apr 28 2020 Jacek Danecki <jacek.danecki@intel.com> - 20.16.16582-1
- Update to 20.16.16582
* Tue Mar 03 2020 Jacek Danecki <jacek.danecki@intel.com> - 20.08.15750-1
- Update to 20.08.15750
* Tue Jan 14 2020 Jacek Danecki <jacek.danecki@intel.com> - 20.01.15264-1
- Update to 20.01.15264
- Updated IGC
- Updated gmmlib

View File

@@ -0,0 +1,51 @@
---
MIT License
Copyright (c) 2018-2021 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---
Copyright (c) 2008-2015 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Materials.
MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
https://www.khronos.org/registry/
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

View File

@@ -0,0 +1,111 @@
# spec file for package intel-opencl
#it's changed by external script
%global rel i1
%global ver xxx
%define gmmlib_sover 11
%define igc_sover 1
%if !0%{?build_type:1}
%define build_type Release
%endif
%define _source_payload w5T16.xzdio
%define _binary_payload w5T16.xzdio
Name: intel-opencl
Epoch: 1
Version: %{ver}
Release: %{rel}%{?dist}
Summary: Intel(R) Graphics Compute Runtime for OpenCL(TM)
License: MIT
Group: System Environment/Libraries
Url: https://github.com/intel/compute-runtime
Source0: %{url}/archive/%{version}/compute-runtime-%{version}.tar.xz
Source1: copyright
ExclusiveArch: x86_64
BuildRequires: cmake make gcc-c++
#BuildRequires: libva-devel
BuildRequires: libigdgmm%{?name_suffix}-devel
BuildRequires: libigdfcl%{?name_suffix}-devel
Requires: libigc%{igc_sover}%{?name_suffix}
Requires: libigdfcl%{igc_sover}%{?name_suffix}
Requires: libigdgmm%{gmmlib_sover}%{?name_suffix}
%description
Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source project to
converge Intel's development efforts on OpenCL(TM) compute stacks supporting
the GEN graphics hardware architecture.
%if 0%{?is_debug}
%package -n intel-opencl%{?name_suffix}
Summary: Intel(R) Graphics Compute Runtime for OpenCL(TM)
Conflicts: intel-opencl
%description -n intel-opencl%{?name_suffix}
Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source project to
converge Intel's development efforts on OpenCL(TM) compute stacks supporting
the GEN graphics hardware architecture.
%endif
%package -n intel-ocloc%{?name_suffix}
Summary: ocloc package for opencl
%description -n intel-ocloc%{?name_suffix}
%define debug_package %{nil}
%prep
%autosetup -p1 -n compute-runtime-%{version}
%build
%cmake .. \
-DCMAKE_BUILD_TYPE=%{build_type} \
-DNEO_VERSION_BUILD=$(ver) \
-DBUILD_WITH_L0=0 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSKIP_UNIT_TESTS=1 \
-DRELEASE_WITH_REGKEYS=1 \
-Wno-dev
%make_build
%install
cd build
%make_install
chmod +x %{buildroot}/%{_libdir}/intel-opencl/libigdrcl.so
rm -f %{buildroot}/%{_libdir}/intel-opencl/libigdrcl.so.debug
rm -f %{buildroot}/%{_libdir}/libocloc.so.debug
rm -rf %{buildroot}/usr/lib/debug/
#insert license into package
mkdir -p %{buildroot}/usr/share/doc/intel-opencl%{?name_suffix}/
cp -pR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-opencl%{?name_suffix}/.
mkdir -p %{buildroot}/usr/share/doc/intel-ocloc%{?name_suffix}/
cp -pR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-ocloc%{?name_suffix}/.
%files -n intel-opencl%{?name_suffix}
%defattr(-,root,root)
%{_sysconfdir}/OpenCL
%{_libdir}/intel-opencl/libigdrcl.so
/usr/share/doc/intel-opencl%{?name_suffix}/copyright
%files -n intel-ocloc%{?name_suffix}
%defattr(-,root,root)
%{_bindir}/ocloc
%{_libdir}/libocloc.so
%{_includedir}/ocloc_api.h
/usr/share/doc/intel-ocloc%{?name_suffix}/copyright
%changelog
* Wed May 6 2020 Pavel Androniychuk <pavel.androniychuk@intel.com> - 20.17.16650
- Update spec files to pull version automatically.
* Tue Apr 28 2020 Jacek Danecki <jacek.danecki@intel.com> - 20.16.16582-1
- Update to 20.16.16582
* Tue Mar 03 2020 Jacek Danecki <jacek.danecki@intel.com> - 20.08.15750-1
- Update to 20.08.15750
* Wed Nov 20 2019 Pavel Androniychuk <pavel.androniychuk@intel.com> - 19.43.14583
- Initial spec file

View File

@@ -0,0 +1,51 @@
---
MIT License
Copyright (c) 2018-2021 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---
Copyright (c) 2008-2015 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Materials.
MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
https://www.khronos.org/registry/
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

View File

@@ -0,0 +1,114 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: compute-runtime
Source: https://github.com/intel/compute-runtime
Files: *
Copyright: 2018-2020 Intel Corporation
License: MIT
Files: third_party/gtest/*
Copyright: 2005-2008 Google Inc.
License: BSD-3-clause
Files: third_party/opencl_headers/*
third_party/opengl_headers/GL/glext.h
Copyright: 2008-2015 The Khronos Group Inc.
2008-2020 Intel Corporation
License: MIT
Files: third_party/opengl_headers/GL/gl.h
Copyright: 1991-2000 Silicon Graphics, Inc.
License: SGI
Files: third_party/source_level_debugger/*
Copyright: 2014-2016 Intel Corporation
License: BSD-3-clause
Files: third_party/uapi/*
Copyright: 1999 Precision Insight, Inc.
2000 VA Linux Systems, Inc.
2007 Dave Airlie <airlied@linux.ie>
2007 Jakob Bornecrantz <wallbraker@gmail.com>
2008 Red Hat Inc.
2003-2008 Tungsten Graphics, Inc.
2007-2008 Intel Corporation
License: MIT
Files: debian/*
Copyright: 2019 Timo Aaltonen <tjaalton@debian.org>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Intel Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: SGI
License Applicability. Except to the extent portions of this file are
made subject to an alternative license as permitted in the SGI Free
Software License B, Version 1.1 (the "License"), the contents of this
file are subject only to the provisions of the License. You may not use
this file except in compliance with the License. You may obtain a copy
of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
.
http://oss.sgi.com/projects/FreeB
.
Note that, as provided in the License, the Software is distributed on an
"AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
.
Original Code. The Original Code is: OpenGL Sample Implementation,
Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
Copyright in any portions created by third parties is as indicated
elsewhere herein. All Rights Reserved.
.
Additional Notice Provisions: This software was created using the
OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
not been independently verified as being compliant with the OpenGL(R)
version 1.2.1 Specification.

View File

@@ -0,0 +1,5 @@
intel-compute-runtime (19.29.13530-1) unstable; urgency=medium
* Initial release (Closes: #926706)
-- Timo Aaltonen <tjaalton@debian.org> Thu, 01 Aug 2019 12:26:37 +0300

View File

@@ -0,0 +1 @@
11

View File

@@ -0,0 +1,40 @@
Source: intel-compute-runtime
Section: libs
Priority: optional
Maintainer: Intel Graphics Team <linux-graphics@intel.com>
XSBC-Original-Maintainer: Debian OpenCL Maintainers <pkg-opencl-devel@lists.alioth.debian.org>
Build-Depends: debhelper (>= 11),
cmake,
# libigc-dev,
# libigdfcl-dev,
# libigdgmm-dev,
# libva-dev,
pkg-config
Standards-Version: 4.3.0
Homepage: https://github.com/intel/compute-runtime
Package: intel-opencl-icd
Architecture: amd64
Depends:
${shlibs:Depends},
${misc:Depends},
libigc1,
libigdfcl1,
libigdgmm11
Breaks:
intel-opencl
Replaces:
intel-opencl
Provides:
opencl-icd
Description: Intel graphics compute runtime for OpenCL
The Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source
project to converge Intel's development efforts on OpenCL(TM) compute
stacks supporting the GEN graphics hardware architecture.
.
Supported platforms:
- Intel Core Processors with Gen8 GPU (Broadwell) - OpenCL 2.1
- Intel Core Processors with Gen9 GPU (Skylake, Kaby Lake, Coffee Lake) - OpenCL 2.1
- Intel Atom Processors with Gen9 GPU (Apollo Lake, Gemini Lake) - OpenCL 1.2
- Intel Core Processors with Gen11 graphics devices (formerly Ice Lake) - OpenCL 2.1
- Intel Core Processors with Gen12 graphics devices (formerly Tiger Lake) - OpenCL 2.1

View File

@@ -0,0 +1,21 @@
#!/usr/bin/make -f
%:
dh $@ --builddir build/ --buildsystem=cmake --parallel
override_dh_auto_configure:
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DNEO_OCL_VERSION_MAJOR=${NEO_OCL_VERSION_MAJOR} \
-DNEO_OCL_VERSION_MINOR=${NEO_OCL_VERSION_MINOR} \
-DNEO_VERSION_BUILD=${NEO_OCL_VERSION_BUILD} \
-DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \
-DSKIP_UNIT_TESTS=${SKIP_UNIT_TESTS} \
-DBUILD_WITH_L0=0 \
-DRELEASE_WITH_REGKEYS=1 \
-Wno-dev
override_dh_install:
rm -rvf debian/intel-opencl-icd/usr/lib/debug
dh_install

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1,114 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: compute-runtime
Source: https://github.com/intel/compute-runtime
Files: *
Copyright: 2018-2020 Intel Corporation
License: MIT
Files: third_party/gtest/*
Copyright: 2005-2008 Google Inc.
License: BSD-3-clause
Files: third_party/opencl_headers/*
third_party/opengl_headers/GL/glext.h
Copyright: 2008-2015 The Khronos Group Inc.
2008-2020 Intel Corporation
License: MIT
Files: third_party/opengl_headers/GL/gl.h
Copyright: 1991-2000 Silicon Graphics, Inc.
License: SGI
Files: third_party/source_level_debugger/*
Copyright: 2014-2016 Intel Corporation
License: BSD-3-clause
Files: third_party/uapi/*
Copyright: 1999 Precision Insight, Inc.
2000 VA Linux Systems, Inc.
2007 Dave Airlie <airlied@linux.ie>
2007 Jakob Bornecrantz <wallbraker@gmail.com>
2008 Red Hat Inc.
2003-2008 Tungsten Graphics, Inc.
2007-2008 Intel Corporation
License: MIT
Files: debian/*
Copyright: 2019 Timo Aaltonen <tjaalton@debian.org>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Intel Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: SGI
License Applicability. Except to the extent portions of this file are
made subject to an alternative license as permitted in the SGI Free
Software License B, Version 1.1 (the "License"), the contents of this
file are subject only to the provisions of the License. You may not use
this file except in compliance with the License. You may obtain a copy
of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
.
http://oss.sgi.com/projects/FreeB
.
Note that, as provided in the License, the Software is distributed on an
"AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
.
Original Code. The Original Code is: OpenGL Sample Implementation,
Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
Copyright in any portions created by third parties is as indicated
elsewhere herein. All Rights Reserved.
.
Additional Notice Provisions: This software was created using the
OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
not been independently verified as being compliant with the OpenGL(R)
version 1.2.1 Specification.

View File

@@ -0,0 +1,5 @@
intel-compute-runtime (19.29.13530-1) unstable; urgency=medium
* Initial release (Closes: #926706)
-- Timo Aaltonen <tjaalton@debian.org> Thu, 01 Aug 2019 12:26:37 +0300

View File

@@ -0,0 +1 @@
11

View File

@@ -0,0 +1,40 @@
Source: intel-compute-runtime
Section: libs
Priority: optional
Maintainer: Intel Graphics Team <linux-graphics@intel.com>
XSBC-Original-Maintainer: Debian OpenCL Maintainers <pkg-opencl-devel@lists.alioth.debian.org>
Build-Depends: debhelper (>= 11),
cmake,
# libigc-dev,
# libigdfcl-dev,
# libigdgmm-dev,
# libva-dev,
pkg-config
Standards-Version: 4.3.0
Homepage: https://github.com/intel/compute-runtime
Package: intel-opencl-icd
Architecture: amd64
Depends:
${shlibs:Depends},
${misc:Depends},
libigc1,
libigdfcl1,
libigdgmm11
Breaks:
intel-opencl
Replaces:
intel-opencl
Provides:
opencl-icd
Description: Intel graphics compute runtime for OpenCL
The Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source
project to converge Intel's development efforts on OpenCL(TM) compute
stacks supporting the GEN graphics hardware architecture.
.
Supported platforms:
- Intel Core Processors with Gen8 GPU (Broadwell) - OpenCL 2.1
- Intel Core Processors with Gen9 GPU (Skylake, Kaby Lake, Coffee Lake) - OpenCL 2.1
- Intel Atom Processors with Gen9 GPU (Apollo Lake, Gemini Lake) - OpenCL 1.2
- Intel Core Processors with Gen11 graphics devices (formerly Ice Lake) - OpenCL 2.1
- Intel Core Processors with Gen12 graphics devices (formerly Tiger Lake) - OpenCL 2.1

View File

@@ -0,0 +1,23 @@
#!/usr/bin/make -f
%:
dh $@ --builddir build/ --buildsystem=cmake+ninja
override_dh_auto_configure:
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DNEO_OCL_VERSION_MAJOR=${NEO_OCL_VERSION_MAJOR} \
-DNEO_OCL_VERSION_MINOR=${NEO_OCL_VERSION_MINOR} \
-DNEO_VERSION_BUILD=${NEO_OCL_VERSION_BUILD} \
-DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \
-DSKIP_UNIT_TESTS=${SKIP_UNIT_TESTS} \
-DBUILD_WITH_L0=0 \
-DRELEASE_WITH_REGKEYS=1 \
-Wno-dev
override_dh_auto_build:
${BUILD_PREFIX} dh_auto_build
override_dh_install:
rm -rvf debian/intel-opencl-icd/usr/lib/debug
dh_install

View File

@@ -0,0 +1 @@
3.0 (quilt)