Enable intel-gpu support
Change-Id: Iadcbf4e7c40957de3c55868b19c53299f539859b
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/18626
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com>
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
Name: glslang |
| 2 | 2 |
Version: 11.13.0 |
| 3 |
-Release: 1%{?dist}
|
|
| 3 |
+Release: 2%{?dist}
|
|
| 4 | 4 |
Summary: OpenGL and OpenGL ES shader front end and validator |
| 5 | 5 |
License: BSD and GPLv3+ and ASL 2.0 |
| 6 | 6 |
URL: https://github.com/KhronosGroup/glslang |
| ... | ... |
@@ -35,7 +35,6 @@ interpretation of the specifications for these languages. |
| 35 | 35 |
|
| 36 | 36 |
%build |
| 37 | 37 |
%cmake \ |
| 38 |
- -DBUILD_SHARED_LIBS=OFF \ |
|
| 39 | 38 |
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
| 40 | 39 |
-DCMAKE_BUILD_TYPE=Debug |
| 41 | 40 |
|
| ... | ... |
@@ -44,19 +43,28 @@ interpretation of the specifications for these languages. |
| 44 | 44 |
%install |
| 45 | 45 |
%cmake_install |
| 46 | 46 |
|
| 47 |
+%ldconfig_scriptlets |
|
| 48 |
+ |
|
| 47 | 49 |
%files |
| 48 | 50 |
%defattr(-,root,root) |
| 49 | 51 |
%doc README.md README-spirv-remap.txt |
| 50 | 52 |
%{_bindir}/%{name}Validator
|
| 51 | 53 |
%{_bindir}/spirv-remap
|
| 54 |
+%{_libdir}/libglslang.so.*
|
|
| 52 | 55 |
|
| 53 | 56 |
%files devel |
| 54 | 57 |
%defattr(-,root,root) |
| 55 | 58 |
%{_includedir}/%{name}/
|
| 56 |
-%{_libdir}/*.a
|
|
| 59 |
+%{_libdir}/libHLSL.so
|
|
| 60 |
+%{_libdir}/libSPIRV.so
|
|
| 61 |
+%{_libdir}/libSPVRemapper.so
|
|
| 62 |
+%{_libdir}/libglslang.so
|
|
| 63 |
+%{_libdir}/libglslang-default-resource-limits.so
|
|
| 57 | 64 |
%{_libdir}/cmake/*
|
| 58 | 65 |
|
| 59 | 66 |
%changelog |
| 67 |
+* Thu Dec 15 2022 Shivani Agarwal <shivania2@vmware.com> 11.13.0-2 |
|
| 68 |
+- Add support for shared libraries |
|
| 60 | 69 |
* Thu Dec 15 2022 Gerrit Photon <photon-checkins@vmware.com> 11.13.0-1 |
| 61 | 70 |
- Automatic Version Bump |
| 62 | 71 |
* Tue Nov 1 2022 Gerrit Photon <photon-checkins@vmware.com> 11.12.0-1 |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: user space library for accessing the DRM. |
| 2 | 2 |
Name: libdrm |
| 3 | 3 |
Version: 2.4.113 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
License: MIT |
| 6 | 6 |
URL: http://dri.freedesktop.org/ |
| 7 | 7 |
Group: System Environment/Libraries |
| ... | ... |
@@ -31,10 +31,10 @@ libdrm provides a user space library for accessing the DRM, direct rendering man |
| 31 | 31 |
|
| 32 | 32 |
%build |
| 33 | 33 |
CONFIGURE_OPTS=( |
| 34 |
- -Dintel=disabled |
|
| 34 |
+ -Dintel=enabled |
|
| 35 | 35 |
-Dradeon=disabled |
| 36 | 36 |
-Damdgpu=enabled |
| 37 |
- -Dnouveau=disabled |
|
| 37 |
+ -Dnouveau=enabled |
|
| 38 | 38 |
-Dvmwgfx=disabled |
| 39 | 39 |
-Dvalgrind=disabled |
| 40 | 40 |
-Dtests=false |
| ... | ... |
@@ -69,6 +69,8 @@ rm -rf %{buildroot}/*
|
| 69 | 69 |
%{_libdir}/pkgconfig*
|
| 70 | 70 |
|
| 71 | 71 |
%changelog |
| 72 |
+* Sun Nov 6 2022 Shivani Agarwal <shivania2@vmware.com> 2.4.113-2 |
|
| 73 |
+- Enable support for intel and nvidia driver |
|
| 72 | 74 |
* Tue Oct 25 2022 Gerrit Photon <photon-checkins@vmware.com> 2.4.113-1 |
| 73 | 75 |
- Automatic Version Bump |
| 74 | 76 |
* Thu Jun 9 2022 Shivani Agarwal <shivania2@vmware.com> 2.4.110-1 |
| ... | ... |
@@ -459,9 +459,9 @@ CONFIG_ACPI_LPIT=y |
| 459 | 459 |
# CONFIG_ACPI_EC_DEBUGFS is not set |
| 460 | 460 |
# CONFIG_ACPI_AC is not set |
| 461 | 461 |
# CONFIG_ACPI_BATTERY is not set |
| 462 |
-# CONFIG_ACPI_BUTTON is not set |
|
| 462 |
+CONFIG_ACPI_BUTTON=m |
|
| 463 | 463 |
# CONFIG_ACPI_TINY_POWER_BUTTON is not set |
| 464 |
-# CONFIG_ACPI_VIDEO is not set |
|
| 464 |
+CONFIG_ACPI_VIDEO=m |
|
| 465 | 465 |
# CONFIG_ACPI_FAN is not set |
| 466 | 466 |
# CONFIG_ACPI_DOCK is not set |
| 467 | 467 |
CONFIG_ACPI_CPU_FREQ_PSS=y |
| ... | ... |
@@ -820,6 +820,7 @@ CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y |
| 820 | 820 |
CONFIG_ARCH_ENABLE_THP_MIGRATION=y |
| 821 | 821 |
CONFIG_CONTIG_ALLOC=y |
| 822 | 822 |
CONFIG_PHYS_ADDR_T_64BIT=y |
| 823 |
+CONFIG_MMU_NOTIFIER=y |
|
| 823 | 824 |
CONFIG_KSM=y |
| 824 | 825 |
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 |
| 825 | 826 |
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y |
| ... | ... |
@@ -844,6 +845,7 @@ CONFIG_ARCH_HAS_ZONE_DMA_SET=y |
| 844 | 844 |
CONFIG_ZONE_DMA32=y |
| 845 | 845 |
CONFIG_ZONE_DEVICE=y |
| 846 | 846 |
# CONFIG_DEVICE_PRIVATE is not set |
| 847 |
+CONFIG_VMAP_PFN=y |
|
| 847 | 848 |
CONFIG_VM_EVENT_COUNTERS=y |
| 848 | 849 |
CONFIG_PERCPU_STATS=y |
| 849 | 850 |
# CONFIG_GUP_TEST is not set |
| ... | ... |
@@ -1674,6 +1676,8 @@ CONFIG_VMWARE_BALLOON=y |
| 1674 | 1674 |
# CONFIG_INTEL_MEI is not set |
| 1675 | 1675 |
# CONFIG_INTEL_MEI_ME is not set |
| 1676 | 1676 |
# CONFIG_INTEL_MEI_TXE is not set |
| 1677 |
+# CONFIG_INTEL_MEI_HDCP is not set |
|
| 1678 |
+# CONFIG_INTEL_MEI_PXP is not set |
|
| 1677 | 1679 |
CONFIG_VMWARE_VMCI=y |
| 1678 | 1680 |
# CONFIG_GENWQE is not set |
| 1679 | 1681 |
# CONFIG_ECHO is not set |
| ... | ... |
@@ -2632,8 +2636,10 @@ CONFIG_BCMA_POSSIBLE=y |
| 2632 | 2632 |
# Graphics support |
| 2633 | 2633 |
CONFIG_APERTURE_HELPERS=y |
| 2634 | 2634 |
# CONFIG_AGP is not set |
| 2635 |
+CONFIG_INTEL_GTT=m |
|
| 2635 | 2636 |
# CONFIG_VGA_SWITCHEROO is not set |
| 2636 | 2637 |
CONFIG_DRM=m |
| 2638 |
+CONFIG_DRM_MIPI_DSI=y |
|
| 2637 | 2639 |
# CONFIG_DRM_DEBUG_SELFTEST is not set |
| 2638 | 2640 |
CONFIG_DRM_KMS_HELPER=m |
| 2639 | 2641 |
# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set |
| ... | ... |
@@ -2644,6 +2650,7 @@ CONFIG_DRM_FBDEV_OVERALLOC=100 |
| 2644 | 2644 |
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set |
| 2645 | 2645 |
CONFIG_DRM_DISPLAY_HELPER=m |
| 2646 | 2646 |
CONFIG_DRM_DISPLAY_DP_HELPER=y |
| 2647 |
+CONFIG_DRM_DISPLAY_HDCP_HELPER=y |
|
| 2647 | 2648 |
CONFIG_DRM_DISPLAY_HDMI_HELPER=y |
| 2648 | 2649 |
# CONFIG_DRM_DP_AUX_CHARDEV is not set |
| 2649 | 2650 |
# CONFIG_DRM_DP_CEC is not set |
| ... | ... |
@@ -2678,7 +2685,36 @@ CONFIG_DRM_AMDGPU=m |
| 2678 | 2678 |
|
| 2679 | 2679 |
# CONFIG_HSA_AMD is not set |
| 2680 | 2680 |
# CONFIG_DRM_NOUVEAU is not set |
| 2681 |
-# CONFIG_DRM_I915 is not set |
|
| 2681 |
+CONFIG_DRM_I915=m |
|
| 2682 |
+CONFIG_DRM_I915_FORCE_PROBE="" |
|
| 2683 |
+CONFIG_DRM_I915_CAPTURE_ERROR=y |
|
| 2684 |
+CONFIG_DRM_I915_COMPRESS_ERROR=y |
|
| 2685 |
+CONFIG_DRM_I915_USERPTR=y |
|
| 2686 |
+ |
|
| 2687 |
+# drm/i915 Debugging |
|
| 2688 |
+# CONFIG_DRM_I915_WERROR is not set |
|
| 2689 |
+# CONFIG_DRM_I915_DEBUG is not set |
|
| 2690 |
+# CONFIG_DRM_I915_DEBUG_MMIO is not set |
|
| 2691 |
+# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set |
|
| 2692 |
+# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set |
|
| 2693 |
+# CONFIG_DRM_I915_DEBUG_GUC is not set |
|
| 2694 |
+# CONFIG_DRM_I915_SELFTEST is not set |
|
| 2695 |
+# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set |
|
| 2696 |
+# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set |
|
| 2697 |
+# CONFIG_DRM_I915_DEBUG_RUNTIME_PM is not set |
|
| 2698 |
+# end of drm/i915 Debugging |
|
| 2699 |
+ |
|
| 2700 |
+# drm/i915 Profile Guided Optimisation |
|
| 2701 |
+CONFIG_DRM_I915_REQUEST_TIMEOUT=20000 |
|
| 2702 |
+CONFIG_DRM_I915_FENCE_TIMEOUT=10000 |
|
| 2703 |
+CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 |
|
| 2704 |
+CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500 |
|
| 2705 |
+CONFIG_DRM_I915_PREEMPT_TIMEOUT=640 |
|
| 2706 |
+CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000 |
|
| 2707 |
+CONFIG_DRM_I915_STOP_TIMEOUT=100 |
|
| 2708 |
+CONFIG_DRM_I915_TIMESLICE_DURATION=1 |
|
| 2709 |
+# end of drm/i915 Profile Guided Optimisation |
|
| 2710 |
+ |
|
| 2682 | 2711 |
# CONFIG_DRM_VGEM is not set |
| 2683 | 2712 |
# CONFIG_DRM_VKMS is not set |
| 2684 | 2713 |
CONFIG_DRM_VMWGFX=m |
| ... | ... |
@@ -2693,6 +2729,7 @@ CONFIG_DRM_VMWGFX_FBCON=y |
| 2693 | 2693 |
CONFIG_DRM_PANEL=y |
| 2694 | 2694 |
|
| 2695 | 2695 |
# Display Panels |
| 2696 |
+# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set |
|
| 2696 | 2697 |
# end of Display Panels |
| 2697 | 2698 |
|
| 2698 | 2699 |
CONFIG_DRM_BRIDGE=y |
| ... | ... |
@@ -24,7 +24,7 @@ |
| 24 | 24 |
Summary: Kernel |
| 25 | 25 |
Name: linux-esx |
| 26 | 26 |
Version: 6.0.7 |
| 27 |
-Release: 4%{?kat_build:.kat}%{?dist}
|
|
| 27 |
+Release: 5%{?kat_build:.kat}%{?dist}
|
|
| 28 | 28 |
License: GPLv2 |
| 29 | 29 |
URL: http://www.kernel.org |
| 30 | 30 |
Group: System Environment/Kernel |
| ... | ... |
@@ -492,6 +492,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
|
| 492 | 492 |
%{_usrsrc}/linux-headers-%{uname_r}
|
| 493 | 493 |
|
| 494 | 494 |
%changelog |
| 495 |
+* Fri Jan 27 2023 Shivani Agarwal <shivania2@vmware.com> 6.0.7-5 |
|
| 496 |
+- Enable CONFIG_DRM_I915 |
|
| 495 | 497 |
* Wed Jan 18 2023 Ajay Kaher <akaher@vmware.com> 6.0.7-4 |
| 496 | 498 |
- Fix aarch64 rpm build issue |
| 497 | 499 |
* Fri Jan 13 2023 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 6.0.7-3 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
Summary: Mesa is an OpenGL compatible 3D graphics library. |
| 2 | 2 |
Name: mesa |
| 3 |
-Version: 22.2.2 |
|
| 4 |
-Release: 3%{?dist}
|
|
| 3 |
+Version: 22.3.0 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
License: MIT |
| 6 | 6 |
URL: http://www.mesa3d.org |
| 7 | 7 |
Group: System Environment/Libraries |
| 8 | 8 |
Vendor: VMware, Inc. |
| 9 | 9 |
Distribution: Photon |
| 10 | 10 |
|
| 11 |
-Source0: https://archive.mesa3d.org/%{name}-%{version}.tar.xz
|
|
| 12 |
-%define sha512 %{name}=a1eb67e1ae4880c79b1fdc570f4389baba0b8ba796da7e695c9af19a7d92b6c06b95570e6c796548b61355989025fb7efbf9acac74cbd695f7e297dc913b933c
|
|
| 11 |
+Source0: http://ftp.freedesktop.org/pub/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
| 12 |
+%define sha512 %{name}=654c91666eb231e6952da1cdc4fc694252707ab3aa5ab806dde45a74edcb551bad5ca127c768cafe93b0564d5f3e58cd9d9c6390c037207da948c9fa093290fe
|
|
| 13 | 13 |
|
| 14 | 14 |
BuildRequires: libdrm-devel >= 2.4.88 |
| 15 | 15 |
BuildRequires: meson |
| ... | ... |
@@ -31,6 +31,8 @@ BuildRequires: glslang-devel |
| 31 | 31 |
|
| 32 | 32 |
Requires: libllvm |
| 33 | 33 |
Requires: expat-libs |
| 34 |
+Requires: libdrm |
|
| 35 |
+Requires: libwayland-client |
|
| 34 | 36 |
|
| 35 | 37 |
Provides: pkg-config(dri) |
| 36 | 38 |
|
| ... | ... |
@@ -62,12 +64,11 @@ Provides: libgbm-devel |
| 62 | 62 |
Mesa libgbm development package. |
| 63 | 63 |
|
| 64 | 64 |
%prep |
| 65 |
-%autosetup -p1 |
|
| 65 |
+%autosetup -n %{name}-%{name}-%{version} -p1
|
|
| 66 | 66 |
|
| 67 | 67 |
%build |
| 68 | 68 |
%{meson} \
|
| 69 | 69 |
-Dgallium-vdpau=disabled \ |
| 70 |
- -Dgallium-xvmc=disabled \ |
|
| 71 | 70 |
-Dgallium-omx=disabled \ |
| 72 | 71 |
-Dgallium-va=disabled \ |
| 73 | 72 |
-Dgallium-xa=disabled \ |
| ... | ... |
@@ -104,6 +105,8 @@ Mesa libgbm development package. |
| 104 | 104 |
%clean |
| 105 | 105 |
rm -rf %{buildroot}/*
|
| 106 | 106 |
|
| 107 |
+%ldconfig_scriptlets |
|
| 108 |
+ |
|
| 107 | 109 |
%files |
| 108 | 110 |
%defattr(-,root,root) |
| 109 | 111 |
|
| ... | ... |
@@ -117,8 +120,10 @@ rm -rf %{buildroot}/*
|
| 117 | 117 |
%ifarch x86_64 |
| 118 | 118 |
%{_libdir}/libvulkan_radeon.so
|
| 119 | 119 |
%{_libdir}/libvulkan_intel.so
|
| 120 |
+%{_libdir}/libvulkan_intel_hasvk.so
|
|
| 120 | 121 |
%{_datadir}/drirc.d/00-radv-defaults.conf
|
| 121 | 122 |
%{_datadir}/vulkan/icd.d/intel_icd.x86_64.json
|
| 123 |
+%{_datadir}/vulkan/icd.d/intel_hasvk_icd.x86_64.json
|
|
| 122 | 124 |
%{_datadir}/vulkan/icd.d/radeon_icd.x86_64.json
|
| 123 | 125 |
%endif |
| 124 | 126 |
|
| ... | ... |
@@ -134,6 +139,8 @@ rm -rf %{buildroot}/*
|
| 134 | 134 |
%{_libdir}/pkgconfig/gbm.pc
|
| 135 | 135 |
|
| 136 | 136 |
%changelog |
| 137 |
+* Tue Jan 10 2023 Shivani Agarwal <shivania2@vmware.com> 22.3.0-1 |
|
| 138 |
+- Upgrade mesa to 22.3.0 and enabled intel and Nvidia driver support |
|
| 137 | 139 |
* Fri Jan 06 2023 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 22.2.2-3 |
| 138 | 140 |
- Bump up due to change in elfutils |
| 139 | 141 |
* Wed Nov 30 2022 Shivani Agarwal <shivania2@vmware.com> 22.2.2-2 |
| ... | ... |
@@ -24,23 +24,23 @@ BuildArch: noarch |
| 24 | 24 |
Vendor: VMware, Inc. |
| 25 | 25 |
Distribution: Photon |
| 26 | 26 |
|
| 27 |
-Source0: http://ftp.x.org/pub/individual/proto/xproto-%{xproto_ver}.tar.bz2
|
|
| 28 |
-%define sha512 xproto=bba6141525c21fd9a3cf210853658cc7af69f82e1ac15bacfffb9280efc3fe3c6fa708095b541b6f33f114c11e808bde8c8839ae63ff88e30963abdfac12702b |
|
| 27 |
+Source0: http://ftp.x.org/pub/individual/proto/xproto-%{xproto_ver}.tar.bz2
|
|
| 28 |
+%define sha512 xproto=bba6141525c21fd9a3cf210853658cc7af69f82e1ac15bacfffb9280efc3fe3c6fa708095b541b6f33f114c11e808bde8c8839ae63ff88e30963abdfac12702b |
|
| 29 | 29 |
|
| 30 |
-Source1: http://ftp.x.org/pub/individual/proto/xextproto-%{xextproto_ver}.tar.bz2
|
|
| 31 |
-%define sha512 xextproto=238beed85fcf6fe5b0809e52814dd44fa45fe6868239990086cb8dd2c446292dd4794698abd07ed10bd146a7096c1679f7160da226f9e861dfaf6c8e22315d61 |
|
| 30 |
+Source1: http://ftp.x.org/pub/individual/proto/xextproto-%{xextproto_ver}.tar.bz2
|
|
| 31 |
+%define sha512 xextproto=238beed85fcf6fe5b0809e52814dd44fa45fe6868239990086cb8dd2c446292dd4794698abd07ed10bd146a7096c1679f7160da226f9e861dfaf6c8e22315d61 |
|
| 32 | 32 |
|
| 33 |
-Source2: http://ftp.x.org/pub/individual/proto/inputproto-%{inputproto_ver}.tar.bz2
|
|
| 34 |
-%define sha512 inputproto=84f8acff3d54e929af6da088624adcd8dffe2eba0d9ef672e136f76d12f3814fbf6a7962de27becfaa0aa5e70d874eb5297d9eed8809576d7b0d96f8c29d9d72 |
|
| 33 |
+Source2: http://ftp.x.org/pub/individual/proto/inputproto-%{inputproto_ver}.tar.bz2
|
|
| 34 |
+%define sha512 inputproto=84f8acff3d54e929af6da088624adcd8dffe2eba0d9ef672e136f76d12f3814fbf6a7962de27becfaa0aa5e70d874eb5297d9eed8809576d7b0d96f8c29d9d72 |
|
| 35 | 35 |
|
| 36 |
-Source3: http://ftp.x.org/pub/individual/proto/kbproto-%{kbproto_ver}.tar.bz2
|
|
| 37 |
-%define sha512 kbproto=49f24bfd11ee4ef0de658a1f55bcfb4b3a1f7057d90137b899ea3d4ecc40cebde97926a3f4315ddca4ae28d32b2d15f16fda993296acffdb4c007d2f84a39a22 |
|
| 36 |
+Source3: http://ftp.x.org/pub/individual/proto/kbproto-%{kbproto_ver}.tar.bz2
|
|
| 37 |
+%define sha512 kbproto=49f24bfd11ee4ef0de658a1f55bcfb4b3a1f7057d90137b899ea3d4ecc40cebde97926a3f4315ddca4ae28d32b2d15f16fda993296acffdb4c007d2f84a39a22 |
|
| 38 | 38 |
|
| 39 |
-Source4: http://ftp.x.org/pub/individual/proto/renderproto-%{renderproto_ver}.tar.bz2
|
|
| 40 |
-%define sha512 renderproto=c38bc7247fd7b89732c892ee41c061b20397f4e79195601b7015dd55054b966f0797ac3990b147f80234596ba2c201ce90e292ecefed2e133167955bca70acc5 |
|
| 39 |
+Source4: http://ftp.x.org/pub/individual/proto/renderproto-%{renderproto_ver}.tar.bz2
|
|
| 40 |
+%define sha512 renderproto=c38bc7247fd7b89732c892ee41c061b20397f4e79195601b7015dd55054b966f0797ac3990b147f80234596ba2c201ce90e292ecefed2e133167955bca70acc5 |
|
| 41 | 41 |
|
| 42 |
-Source5: http://ftp.x.org/pub/individual/proto/randrproto-%{randrproto_ver}.tar.bz2
|
|
| 43 |
-%define sha512 randrproto=5c56f6acfe3a9da5ffda45e4af2da5081a5116d53f4d2dafe399eae168656727927ca0fb4c29fc6583e87709ac83b025ae206fba9356ebf9e26d3ff545da57f4 |
|
| 42 |
+Source5: http://ftp.x.org/pub/individual/proto/randrproto-%{randrproto_ver}.tar.bz2
|
|
| 43 |
+%define sha512 randrproto=5c56f6acfe3a9da5ffda45e4af2da5081a5116d53f4d2dafe399eae168656727927ca0fb4c29fc6583e87709ac83b025ae206fba9356ebf9e26d3ff545da57f4 |
|
| 44 | 44 |
|
| 45 | 45 |
Source6: http://ftp.x.org/pub/individual/proto/fixesproto-%{fixesproto_ver}.tar.bz2
|
| 46 | 46 |
%define sha512 fixesproto=93c6a8b6e4345c3049c08f2f3960f5eb5f92c487f26d227430964361bf82041b49e61f873fbbb8ee0e111556f90532b852c20e6082ee8008be641373251fa78c |
| 47 | 47 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,62 @@ |
| 0 |
+Summary: Header files from the SPIR-V registry |
|
| 1 |
+Name: spirv-headers |
|
| 2 |
+Version: 1.3.231.1 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: MIT |
|
| 5 |
+URL: https://github.com/KhronosGroup/SPIRV-Headers/ |
|
| 6 |
+Group: System Environment/Libraries |
|
| 7 |
+Vendor: VMware, Inc. |
|
| 8 |
+Distribution: Photon |
|
| 9 |
+Source0: https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/SPIRV-Headers-%{version}.tar.gz
|
|
| 10 |
+%define sha512 SPIRV-Headers-%{version}.tar.gz=d2c47127fd81430383e8656917f76933b713ca6cb93b2a9c16c9e0b125e2f62f8c497cab3a4fcc2a711decd911ec5d15f1eb0270add05442aff6672e08c890d7
|
|
| 11 |
+ |
|
| 12 |
+BuildArch: noarch |
|
| 13 |
+ |
|
| 14 |
+%description |
|
| 15 |
+Header files from the SPIR-V registry |
|
| 16 |
+ |
|
| 17 |
+This includes: |
|
| 18 |
+ |
|
| 19 |
+* Header files for various languages. |
|
| 20 |
+* JSON files describing the grammar for the SPIR-V core instruction |
|
| 21 |
+ set, and for the GLSL.std.450 extended instruction set. |
|
| 22 |
+* The XML registry file |
|
| 23 |
+ |
|
| 24 |
+%package devel |
|
| 25 |
+Summary: Header and development files |
|
| 26 |
+Requires: %{name} = %{version}-%{release}
|
|
| 27 |
+ |
|
| 28 |
+%description devel |
|
| 29 |
+This includes: |
|
| 30 |
+ |
|
| 31 |
+* Header files for various languages. |
|
| 32 |
+* JSON files describing the grammar for the SPIR-V core instruction |
|
| 33 |
+ set, and for the GLSL.std.450 extended instruction set. |
|
| 34 |
+* The XML registry file |
|
| 35 |
+ |
|
| 36 |
+%prep |
|
| 37 |
+%autosetup -p1 -n SPIRV-Headers-sdk-%{version}
|
|
| 38 |
+ |
|
| 39 |
+chmod a-x include/spirv/1.2/spirv.py |
|
| 40 |
+ |
|
| 41 |
+%build |
|
| 42 |
+ |
|
| 43 |
+%install |
|
| 44 |
+mkdir -p %buildroot%{_includedir}/
|
|
| 45 |
+mv include/* %buildroot%{_includedir}/
|
|
| 46 |
+ |
|
| 47 |
+%clean |
|
| 48 |
+rm -rf %{buildroot}/*
|
|
| 49 |
+ |
|
| 50 |
+%files |
|
| 51 |
+%defattr(-,root,root) |
|
| 52 |
+ |
|
| 53 |
+%files devel |
|
| 54 |
+%defattr(-,root,root) |
|
| 55 |
+%license LICENSE |
|
| 56 |
+%doc README.md |
|
| 57 |
+%{_includedir}/spirv/
|
|
| 58 |
+ |
|
| 59 |
+%changelog |
|
| 60 |
+* Tue Nov 15 2022 Shivani Agarwal <shivania2@vmware.com> 1.3.231.1-1 |
|
| 61 |
+- initial version |
| 0 | 62 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,94 @@ |
| 0 |
+Summary: API and commands for processing SPIR-V modules |
|
| 1 |
+Name: spirv-tools |
|
| 2 |
+Version: 1.3.231.1 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: ASL 2.0 |
|
| 5 |
+URL: https://github.com/KhronosGroup/SPIRV-Tools/ |
|
| 6 |
+Group: System Environment/Libraries |
|
| 7 |
+Vendor: VMware, Inc. |
|
| 8 |
+Distribution: Photon |
|
| 9 |
+Source0: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/SPIRV-Tools-%{version}.tar.gz
|
|
| 10 |
+%define sha512 SPIRV-Tools-%{version}.tar.gz=e999bcd7002fd821b2aa5e53de37d501113735059ca61cb7df4c6383fb2566a5371adbe82faff52461c8791f76cd30b13e22e2b39954f7ec1942d80dd8f50636
|
|
| 11 |
+ |
|
| 12 |
+BuildRequires: cmake |
|
| 13 |
+BuildRequires: gcc |
|
| 14 |
+BuildRequires: ninja-build |
|
| 15 |
+BuildRequires: python3-devel |
|
| 16 |
+BuildRequires: python3-xml |
|
| 17 |
+BuildRequires: libxml2-devel |
|
| 18 |
+BuildRequires: spirv-headers-devel |
|
| 19 |
+ |
|
| 20 |
+Requires: libxml2 |
|
| 21 |
+ |
|
| 22 |
+%description |
|
| 23 |
+The package includes an assembler, binary module parser, |
|
| 24 |
+disassembler, and validator for SPIR-V.. |
|
| 25 |
+ |
|
| 26 |
+%package libs |
|
| 27 |
+Summary: Library files for spirv-tools |
|
| 28 |
+Provides: %{name}-libs = %{version}
|
|
| 29 |
+ |
|
| 30 |
+%description libs |
|
| 31 |
+library files for spirv-tools |
|
| 32 |
+ |
|
| 33 |
+%package devel |
|
| 34 |
+Summary: Development files for spirv-tools |
|
| 35 |
+Requires: %{name} = %{version}-%{release}
|
|
| 36 |
+Requires: libxml2-devel |
|
| 37 |
+ |
|
| 38 |
+%description devel |
|
| 39 |
+Development files for spirv-tools |
|
| 40 |
+ |
|
| 41 |
+%prep |
|
| 42 |
+%autosetup -p1 -n SPIRV-Tools-sdk-%{version}
|
|
| 43 |
+ |
|
| 44 |
+%build |
|
| 45 |
+%cmake -DCMAKE_BUILD_TYPE=Release \ |
|
| 46 |
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
|
| 47 |
+ -DSPIRV-Headers_SOURCE_DIR=%{_prefix} \
|
|
| 48 |
+ -DPYTHON_EXECUTABLE=%{__python3} \
|
|
| 49 |
+ -DSPIRV_TOOLS_BUILD_STATIC=OFF \ |
|
| 50 |
+ -GNinja |
|
| 51 |
+%cmake_build |
|
| 52 |
+ |
|
| 53 |
+%install |
|
| 54 |
+%cmake_install |
|
| 55 |
+ |
|
| 56 |
+%ldconfig_scriptlets libs |
|
| 57 |
+ |
|
| 58 |
+%clean |
|
| 59 |
+rm -rf %{buildroot}/*
|
|
| 60 |
+ |
|
| 61 |
+%files |
|
| 62 |
+%defattr(-,root,root) |
|
| 63 |
+%doc README.md CHANGES |
|
| 64 |
+%{_bindir}/spirv-as
|
|
| 65 |
+%{_bindir}/spirv-cfg
|
|
| 66 |
+%{_bindir}/spirv-dis
|
|
| 67 |
+%{_bindir}/spirv-lesspipe.sh
|
|
| 68 |
+%{_bindir}/spirv-link
|
|
| 69 |
+%{_bindir}/spirv-lint
|
|
| 70 |
+%{_bindir}/spirv-opt
|
|
| 71 |
+%{_bindir}/spirv-reduce
|
|
| 72 |
+%{_bindir}/spirv-val
|
|
| 73 |
+ |
|
| 74 |
+%files devel |
|
| 75 |
+%defattr(-,root,root) |
|
| 76 |
+%{_includedir}/spirv-tools/
|
|
| 77 |
+%{_libdir}/cmake/*
|
|
| 78 |
+%{_libdir}/pkgconfig/SPIRV-Tools-shared.pc
|
|
| 79 |
+%{_libdir}/pkgconfig/SPIRV-Tools.pc
|
|
| 80 |
+ |
|
| 81 |
+%files libs |
|
| 82 |
+%defattr(-,root,root) |
|
| 83 |
+%{_libdir}/libSPIRV-Tools-diff.so
|
|
| 84 |
+%{_libdir}/libSPIRV-Tools-link.so
|
|
| 85 |
+%{_libdir}/libSPIRV-Tools-lint.so
|
|
| 86 |
+%{_libdir}/libSPIRV-Tools-opt.so
|
|
| 87 |
+%{_libdir}/libSPIRV-Tools.so
|
|
| 88 |
+%{_libdir}/libSPIRV-Tools-reduce.so
|
|
| 89 |
+%{_libdir}/libSPIRV-Tools-shared.so
|
|
| 90 |
+ |
|
| 91 |
+%changelog |
|
| 92 |
+* Tue Nov 15 2022 Shivani Agarwal <shivania2@vmware.com> 1.3.231.1-1 |
|
| 93 |
+- initial version |
| 0 | 94 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,69 @@ |
| 0 |
+Name: vulkan-tools |
|
| 1 |
+Version: 1.3.231.1 |
|
| 2 |
+Release: 1%{?dist}
|
|
| 3 |
+Summary: Vulkan tools |
|
| 4 |
+Group: Development/Tools |
|
| 5 |
+Vendor: VMware, Inc. |
|
| 6 |
+Distribution: Photon |
|
| 7 |
+License: ASL 2.0 |
|
| 8 |
+URL: https://github.com/KhronosGroup/Vulkan-Tools |
|
| 9 |
+ |
|
| 10 |
+Source0: https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/Vulkan-Tools-%{version}.tar.gz
|
|
| 11 |
+%define sha512 Vulkan-Tools-%{version}.tar.gz=48b87ac2d45496d031eff492ed562df08ec34b40fc94bc6eaf122c4203949b0db5fceccf2718eef1d90b891ef0681db1c9d945f1dd710fb0c99020e4e3efa025
|
|
| 12 |
+ |
|
| 13 |
+BuildRequires: cmake |
|
| 14 |
+BuildRequires: ninja-build |
|
| 15 |
+BuildRequires: python3-devel |
|
| 16 |
+BuildRequires: vulkan-loader-devel |
|
| 17 |
+BuildRequires: vulkan-headers |
|
| 18 |
+BuildRequires: libxml2-devel |
|
| 19 |
+BuildRequires: wayland-devel |
|
| 20 |
+BuildRequires: libwayland-client |
|
| 21 |
+BuildRequires: libwayland-cursor |
|
| 22 |
+BuildRequires: libwayland-server |
|
| 23 |
+BuildRequires: libwayland-egl |
|
| 24 |
+BuildRequires: wayland-protocols-devel |
|
| 25 |
+BuildRequires: libxcb-devel |
|
| 26 |
+BuildRequires: libX11-devel |
|
| 27 |
+BuildRequires: libXrandr-devel |
|
| 28 |
+BuildRequires: libdrm-devel |
|
| 29 |
+BuildRequires: llvm-devel |
|
| 30 |
+BuildRequires: git |
|
| 31 |
+ |
|
| 32 |
+Requires: vulkan-loader |
|
| 33 |
+Requires: vulkan-headers |
|
| 34 |
+Requires: mesa-vulkan-drivers |
|
| 35 |
+Requires: libdrm |
|
| 36 |
+Requires: libX11 |
|
| 37 |
+ |
|
| 38 |
+%description |
|
| 39 |
+Vulkan tools |
|
| 40 |
+ |
|
| 41 |
+%prep |
|
| 42 |
+%autosetup -p1 -n Vulkan-Tools-sdk-%{version}
|
|
| 43 |
+ |
|
| 44 |
+%build |
|
| 45 |
+mkdir build |
|
| 46 |
+cd build |
|
| 47 |
+python ../scripts/update_deps.py |
|
| 48 |
+cmake .. -C helper.cmake -DBUILD_CUBE=OFF -DBUILD_ICD=OFF -DINSTALL_ICD=OFF |
|
| 49 |
+cmake --build . |
|
| 50 |
+ |
|
| 51 |
+%install |
|
| 52 |
+cd build |
|
| 53 |
+%make_install |
|
| 54 |
+ |
|
| 55 |
+mv %{buildroot}/usr/local/* %{buildroot}/usr/
|
|
| 56 |
+ |
|
| 57 |
+%ldconfig_scriptlets |
|
| 58 |
+ |
|
| 59 |
+%clean |
|
| 60 |
+rm -rf %{buildroot}/*
|
|
| 61 |
+ |
|
| 62 |
+%files |
|
| 63 |
+%defattr(-,root,root) |
|
| 64 |
+%{_bindir}/*
|
|
| 65 |
+ |
|
| 66 |
+%changelog |
|
| 67 |
+* Mon Nov 7 2022 Shivani Agarwal <shivania2@vmware.com> 1.3.231.1-1 |
|
| 68 |
+- Initial version |