From fbbcc27742c758d324d99590453fa5fb7a88ae6f Mon Sep 17 00:00:00 2001 From: Pawel Cieslak Date: Thu, 6 Jan 2022 00:09:03 +0000 Subject: [PATCH] Update infra, remove old spec files Related-To: NEO-6584 Signed-off-by: Pawel Cieslak --- manifests/manifest.yml | 2 +- .../rhel_8.4/SPECS/l0_gpu_driver.spec | 93 ------------------ .../l0_gpu_driver/rhel_8.4/copyright | 23 ----- .../opencl/rhel_8.4/SPECS/opencl.spec | 97 ------------------- scripts/packaging/opencl/rhel_8.4/copyright | 51 ---------- 5 files changed, 1 insertion(+), 265 deletions(-) delete mode 100644 scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec delete mode 100644 scripts/packaging/l0_gpu_driver/rhel_8.4/copyright delete mode 100644 scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec delete mode 100644 scripts/packaging/opencl/rhel_8.4/copyright diff --git a/manifests/manifest.yml b/manifests/manifest.yml index 42390d4ca9..53a472c35d 100644 --- a/manifests/manifest.yml +++ b/manifests/manifest.yml @@ -20,7 +20,7 @@ components: infra: branch: master dest_dir: infra - revision: a3a162294bfda92a6590abac69836c22b73124a9 + revision: 36e6f33575c486f5fcc5000583d483881aaf16d7 type: git internal: branch: master diff --git a/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec b/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec deleted file mode 100644 index 020c4f8839..0000000000 --- a/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec +++ /dev/null @@ -1,93 +0,0 @@ -#it's changed by external script -%global ver xxx -%global rel xxx -%global build_id xxx - -%define _source_payload w5T16.xzdio -%define _binary_payload w5T16.xzdio - -Name: intel-level-zero-gpu -Version: %{ver} -Release: %{rel}%{?dist} -Summary: Intel(R) GPU Driver for oneAPI Level Zero. - -Group: System Environment/Libraries -License: MIT -URL: https://github.com/intel/compute-runtime -Source0: %{url}/archive/%{version}/compute-runtime-%{version}.tar.xz -Source1: copyright - -BuildRequires: make libva-devel gcc-c++ cmake -BuildRequires: intel-gmmlib-devel -BuildRequires: intel-igc-opencl-devel - -Requires: intel-gmmlib -Requires: intel-igc-opencl - -%description -Runtime library providing the ability to use Intel GPUs with the oneAPI Level -Zero programming interface. -Level Zero is the primary low-level interface for language and runtime -libraries. Level Zero offers fine-grain control over accelerators capabilities, -delivering a simplified and low-latency interface to hardware, and efficiently -exposing hardware capabilities to applications. - -%define debug_package %{nil} - -%prep -%autosetup -p1 -n compute-runtime-%{ver} - -%build -mkdir build -cd build -%cmake .. \ - -DNEO_VERSION_BUILD=%{build_id} \ - -DCMAKE_BUILD_TYPE=Release \ - -DNEO_BUILD_WITH_OCL=FALSE \ - -DNEO_SKIP_UNIT_TESTS=1 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DL0_INSTALL_UDEV_RULES=1 \ - -DUDEV_RULES_DIR=/etc/udev/rules.d/ -%make_build - -%install -cd build -%make_install - -#Remove OpenCL files before installing -rm -rf %{buildroot}%{_libdir}/intel-opencl/ -rm -rf %{buildroot}%{_sysconfdir}/OpenCL/ -rm -rf %{buildroot}%{_bindir}/ocloc -rm -rf %{buildroot}%{_libdir}/libocloc.so -rm -rf %{buildroot}%{_includedir}/ocloc_api.h -#Remove debug files -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-level-zero-gpu/ -cp -pR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-level-zero-gpu/. - -%files -%defattr(-,root,root) -%{_libdir}/libze_intel_gpu.so.* -%{_sharedstatedir}/libze_intel_gpu/pci_bind_status_file -%{_sharedstatedir}/libze_intel_gpu/wedged_file -%{_sysconfdir}/udev/rules.d/99-drm_ze_intel_gpu.rules -/usr/share/doc/intel-level-zero-gpu/copyright -%config(noreplace) - -%doc - -%changelog -* Mon Aug 10 2020 Spruit, Neil R - 1.0.17625 -- Update to 1.0.17625 - -* Tue Apr 28 2020 Jacek Danecki - 0.8.16582-1 -- Update to 0.8.16582 - -* Tue Mar 24 2020 Spruit, Neil R - 0.8.0 -* Update to 0.8.0 - -* Fri Mar 13 2020 Pavel Androniychuk - 0.4.1 -- Spec file init diff --git a/scripts/packaging/l0_gpu_driver/rhel_8.4/copyright b/scripts/packaging/l0_gpu_driver/rhel_8.4/copyright deleted file mode 100644 index 4dbe35efaf..0000000000 --- a/scripts/packaging/l0_gpu_driver/rhel_8.4/copyright +++ /dev/null @@ -1,23 +0,0 @@ ---- - -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. diff --git a/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec b/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec deleted file mode 100644 index c30f91354b..0000000000 --- a/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec +++ /dev/null @@ -1,97 +0,0 @@ -#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=FALSE \ - -DNEO_SKIP_UNIT_TESTS=TRUE \ - -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 - 20.17.16650 -- Update spec files to pull version automatically. - -* Tue Apr 28 2020 Jacek Danecki - 20.16.16582-1 -- Update to 20.16.16582 - -* Tue Mar 03 2020 Jacek Danecki - 20.08.15750-1 -- Update to 20.08.15750 - -* Tue Jan 14 2020 Jacek Danecki - 20.01.15264-1 -- Update to 20.01.15264 -- Updated IGC -- Updated gmmlib diff --git a/scripts/packaging/opencl/rhel_8.4/copyright b/scripts/packaging/opencl/rhel_8.4/copyright deleted file mode 100644 index bbe72c8cdd..0000000000 --- a/scripts/packaging/opencl/rhel_8.4/copyright +++ /dev/null @@ -1,51 +0,0 @@ ---- - -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.