Skip to content

Commit

Permalink
ci: copy build logs when requested
Browse files Browse the repository at this point in the history
Related-To: NEO-9328
Signed-off-by: Artur Harasimiuk <[email protected]>
  • Loading branch information
ArturHarasimiuk authored and Compute-Runtime-Automation committed Dec 11, 2023
1 parent 4320f48 commit 1c514b9
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ components:
branch: master
dest_dir: infra
fetch_tags: true
revision: v5578
revision: v5589
type: git
internal:
branch: master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ rm -rvf %{buildroot}/usr/lib/debug/
mkdir -p %{buildroot}/usr/share/doc/intel-level-zero-gpu/
cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-level-zero-gpu/.

if [ -d "${NEO_NINJA_DUMP}" ]; then
cp -v .ninja* ${NEO_NINJA_DUMP}/
fi

%files
%defattr(-,root,root)
%{_libdir}/libze_intel_gpu.so.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ rm -rvf %{buildroot}/usr/lib/debug/
mkdir -p %{buildroot}/usr/share/doc/intel-level-zero-gpu%{?name_suffix}/
cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-level-zero-gpu%{?name_suffix}/.

if [ -d "${NEO_NINJA_DUMP}" ]; then
cp -v .ninja* ${NEO_NINJA_DUMP}/
fi

%files -n intel-level-zero-gpu%{?name_suffix}
%defattr(-,root,root)
%{_libdir}/libze_intel_gpu.so.*
Expand Down
1 change: 1 addition & 0 deletions scripts/packaging/l0_gpu_driver/ubuntu_20.04/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ override_dh_install:
rm -rf debian/intel-level-zero-gpu/usr/lib/${DEB_TARGET_MULTIARCH}/libocloc.so
rm -rvf debian/intel-level-zero-gpu/usr/lib/debug
dh_install
if [ -d "${NEO_NINJA_DUMP}" ]; then find -name .ninja_\* -type f -exec cp -v {} ${NEO_NINJA_DUMP}/ \;; fi

override_dh_builddeb:
dh_builddeb -- -Zxz
Expand Down
4 changes: 4 additions & 0 deletions scripts/packaging/opencl/rhel_8/SPECS/opencl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-opencl/.
mkdir -p %{buildroot}/usr/share/doc/intel-ocloc/
cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-ocloc/.

if [ -d "${NEO_NINJA_DUMP}" ]; then
cp -v .ninja* ${NEO_NINJA_DUMP}/
fi

%files
%defattr(-,root,root)
%{_libdir}/intel-opencl/libigdrcl.so
Expand Down
4 changes: 4 additions & 0 deletions scripts/packaging/opencl/sles_15/SPECS/opencl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-opencl%{?name_s
mkdir -p %{buildroot}/usr/share/doc/intel-ocloc%{?name_suffix}/
cp -pvR %{_sourcedir}/copyright %{buildroot}/usr/share/doc/intel-ocloc%{?name_suffix}/.

if [ -d "${NEO_NINJA_DUMP}" ]; then
cp -v .ninja* ${NEO_NINJA_DUMP}/
fi

%files -n intel-opencl%{?name_suffix}
%defattr(-,root,root)
%{_sysconfdir}/OpenCL
Expand Down
1 change: 1 addition & 0 deletions scripts/packaging/opencl/ubuntu_20.04/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ override_dh_auto_build:
override_dh_install:
rm -rvf debian/intel-opencl-icd/usr/lib/debug
dh_install
if [ -d "${NEO_NINJA_DUMP}" ]; then find -name .ninja_\* -type f -exec cp -v {} ${NEO_NINJA_DUMP}/ \;; fi

override_dh_builddeb:
dh_builddeb -- -Zxz
Expand Down

0 comments on commit 1c514b9

Please sign in to comment.