diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2019-04-21 12:51:45 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2019-04-21 12:51:45 +1000 |
commit | 068cfaec357f22e0da2a0f617b0cf08951e346ce (patch) | |
tree | 399e5b5e7f18f6f04c7feba27cae309376eb1363 /spirv-tools-32 | |
parent | 90f436a7bd25669224709f5529de94219e34bb5d (diff) | |
download | compat-32-068cfaec357f22e0da2a0f617b0cf08951e346ce.tar.gz compat-32-068cfaec357f22e0da2a0f617b0cf08951e346ce.tar.xz |
spirv-tools-32: initial import
Diffstat (limited to 'spirv-tools-32')
-rw-r--r-- | spirv-tools-32/.32bit | 0 | ||||
-rw-r--r-- | spirv-tools-32/.footprint | 10 | ||||
-rw-r--r-- | spirv-tools-32/.signature | 6 | ||||
-rw-r--r-- | spirv-tools-32/Pkgfile | 33 |
4 files changed, 49 insertions, 0 deletions
diff --git a/spirv-tools-32/.32bit b/spirv-tools-32/.32bit new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/spirv-tools-32/.32bit diff --git a/spirv-tools-32/.footprint b/spirv-tools-32/.footprint new file mode 100644 index 00000000..19921327 --- /dev/null +++ b/spirv-tools-32/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libSPIRV-Tools-link.a +-rw-r--r-- root/root usr/lib32/libSPIRV-Tools-opt.a +-rw-r--r-- root/root usr/lib32/libSPIRV-Tools-reduce.a +-rwxr-xr-x root/root usr/lib32/libSPIRV-Tools-shared.so +-rw-r--r-- root/root usr/lib32/libSPIRV-Tools.a +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/SPIRV-Tools-shared.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/SPIRV-Tools.pc diff --git a/spirv-tools-32/.signature b/spirv-tools-32/.signature new file mode 100644 index 00000000..53a3c806 --- /dev/null +++ b/spirv-tools-32/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/compat-32.pub +RWSwxGo/zH7eXVJmQFBa4OHxAkXo/bYv0mHDZ6wKrXYYTJhH1qzOL1OoFUdAZqeCyHg6gU1a1J+U8C8FzcQob9ikf9HbbhjKUg4= +SHA256 (Pkgfile) = 9cab11a3c3a37e5fba063d150ace2e18f6914233868baeb82a0b102581ffe81a +SHA256 (.footprint) = 18875d5e13ef976316368e5988ca8109818607102812599965f9dbfd4675b9ca +SHA256 (SPIRV-Tools-v2019.2.tar.gz) = 1fde9d2a0df920a401441cd77253fc7b3b9ab0578eabda8caaaceaa6c7638440 +SHA256 (2434b89345a50c018c84f42a310b0fad4f3fd94f.tar.gz) = 9213bc1c80ca176b7bf79e2b138c7708d8babc0b069a06ac4fa9ef467fa9322a diff --git a/spirv-tools-32/Pkgfile b/spirv-tools-32/Pkgfile new file mode 100644 index 00000000..fdbc0271 --- /dev/null +++ b/spirv-tools-32/Pkgfile @@ -0,0 +1,33 @@ +# Description: API and commands for processing SPIR-V modules +# URL: https://www.khronos.org/vulkan/ +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: spirv-tools + +name=spirv-tools-32 +version=2019.2 +_commit=2434b89345a50c018c84f42a310b0fad4f3fd94f +release=1 +source=( + https://github.com/KhronosGroup/SPIRV-Tools/archive//v$version/SPIRV-Tools-v$version.tar.gz + https://github.com/KhronosGroup/SPIRV-Headers/archive/$_commit.tar.gz +) + +build() { + mv SPIRV-Headers-$_commit SPIRV-Headers + cd SPIRV-Tools-$version + + mkdir build + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib32 \ + -DCMAKE_BUILD_TYPE=Release \ + -DSPIRV_WERROR=Off \ + -DSPIRV-Headers_SOURCE_DIR=${SRC}/SPIRV-Headers + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/{bin,include} +} |