add intel-level-zero-gpu-devel

Related-To: NEO-5997
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2021-08-25 09:48:44 +00:00
committed by Compute-Runtime-Automation
parent 8aa1953bd6
commit 140e59810f
6 changed files with 40 additions and 5 deletions

View File

@@ -106,11 +106,6 @@ if(BUILD_WITH_L0)
message(STATUS "igsc Library headers not available. Building without")
endif()
if(UNIX)
# Load GNUInstallDirs to determine install targets for Linux packages
include(GNUInstallDirs)
endif()
if(NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -fPIC")
endif()
@@ -592,6 +587,13 @@ if(BUILD_WITH_L0)
endif()
endif()
if(UNIX)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/include/zet_intel_gpu_debug.h"
TYPE INCLUDE
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
endif()
else()
message(STATUS "Skipping level zero")
set(BUILD_WITH_L0 FALSE PARENT_SCOPE)

View File

@@ -37,6 +37,15 @@ 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.
%package -n intel-level-zero-gpu-devel
Summary: Development files for Intel(R) GPU Driver for oneAPI Level Zero.
Group: Development/Libraries/C and C++
Requires: intel-level-zero-gpu = %{version}
Provides: intel-level-zero-gpu-devel
%description -n intel-level-zero-gpu-devel
Intel(R) Graphics Compute Runtime for oneAPI Level Zero - development headers
%define debug_package %{nil}
%prep
@@ -88,6 +97,9 @@ cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-level-zero-gpu/
/usr/share/doc/intel-level-zero-gpu/copyright
%config(noreplace)
%files devel
%{_includedir}/zet_intel_gpu_debug.h
%doc
%changelog

View File

@@ -49,6 +49,15 @@ 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.
%package -n intel-level-zero-gpu%{?name_suffix}-devel
Summary: Development files for Intel(R) GPU Driver for oneAPI Level Zero.
Group: Development/Libraries/C and C++
Requires: intel-level-zero-gpu%{?name_suffix} = %{version}
Provides: intel-level-zero-gpu-devel
%description -n intel-level-zero-gpu%{?name_suffix}-devel
Intel(R) Graphics Compute Runtime for oneAPI Level Zero - development headers
%debug_package %{nil}
%prep
@@ -98,6 +107,9 @@ cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-level-zero-gpu%
/usr/share/doc/intel-level-zero-gpu%{?name_suffix}/copyright
%config(noreplace)
%files -n intel-level-zero-gpu%{?name_suffix}-devel
%{_includedir}/zet_intel_gpu_debug.h
%doc
%changelog

View File

@@ -24,3 +24,10 @@ Description: Intel(R) Graphics Compute Runtime for oneAPI Level Zero.
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.
Package: intel-level-zero-gpu-devel
Architecture: amd64
Depends:
${shlibs:Depends},
${misc:Depends},
Description: Intel(R) Graphics Compute Runtime for oneAPI Level Zero - development headers

View File

@@ -0,0 +1 @@
usr/include/zet_intel_gpu_debug.h

View File

@@ -0,0 +1 @@
usr/lib/*/libze_intel_gpu.so.*