diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2019-08-30 19:21:51 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2019-08-30 19:21:51 +1000 |
commit | 0317ac97b34626bbdd464f51832c245c34f51ebf (patch) | |
tree | 30bb8733d9b2c8951e81bf36191ed07f3133fb77 /spirv-tools-32 | |
parent | a64c6725ef7273e8c5f36911ee09f2dd7e11fe57 (diff) | |
download | compat-32-0317ac97b34626bbdd464f51832c245c34f51ebf.tar.gz compat-32-0317ac97b34626bbdd464f51832c245c34f51ebf.tar.xz |
spirv-tools-32: 2019.2 -> 2019.4
Diffstat (limited to 'spirv-tools-32')
-rw-r--r-- | spirv-tools-32/.signature | 6 | ||||
-rw-r--r-- | spirv-tools-32/Pkgfile | 38 |
2 files changed, 27 insertions, 17 deletions
diff --git a/spirv-tools-32/.signature b/spirv-tools-32/.signature index d2bc0812..7ef02112 100644 --- a/spirv-tools-32/.signature +++ b/spirv-tools-32/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/compat-32.pub -RWSwxGo/zH7eXb0jqpS/1nLZ1umF1RQPQbJ1oJ4f2+oJKFsuzaABIgj8KsXb/vwIr0Z9xcmDVKxtHJrtezBE9yt5EtdhTIfkVgc= -SHA256 (Pkgfile) = 1e7d64add2a21c307fe7b50691f3685195f2d83442c608ac3ffd05bc87186754 +RWSwxGo/zH7eXYypuOky86GnFJRdU83L0GsMXEUmn4znyAtfhgGJ3biBEvDYRhFRYtbZMAa9S06GCG0hPVFzYEUGG3RcbyInYAA= +SHA256 (Pkgfile) = 10eb76ee9822bf30751ecf382b2ea5d69e1cca7f50569dee4561d879e3765c47 SHA256 (.footprint) = 18875d5e13ef976316368e5988ca8109818607102812599965f9dbfd4675b9ca -SHA256 (SPIRV-Tools-v2019.2.tar.gz) = 1fde9d2a0df920a401441cd77253fc7b3b9ab0578eabda8caaaceaa6c7638440 +SHA256 (aa9e8f538041db3055ea443080e0ccc315fa114f) = 7d84713e5760108991edb02b0e65dcf46ce7a1137108a46a9e9d204c8a8fb40d diff --git a/spirv-tools-32/Pkgfile b/spirv-tools-32/Pkgfile index 3520a8ff..e85ee059 100644 --- a/spirv-tools-32/Pkgfile +++ b/spirv-tools-32/Pkgfile @@ -4,25 +4,35 @@ # Depends on: spirv-tools name=spirv-tools-32 -version=2019.2 +version=2019.4 +commit=aa9e8f538041db3055ea443080e0ccc315fa114f release=2 -source=(https://github.com/KhronosGroup/SPIRV-Tools/archive//v$version/SPIRV-Tools-v$version.tar.gz) +source=( + #https://github.com/KhronosGroup/SPIRV-Tools/archive//v$version/SPIRV-Tools-v$version.tar.gz + https://codeload.github.com/KhronosGroup/SPIRV-Tools/zip/$commit +) build() { - cd SPIRV-Tools-$version + mv $commit SPIRV-Tools-$commit.zip + bsdtar -xf SPIRV-Tools-$commit.zip + cd SPIRV-Tools-$commit +# 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=/usr + mkdir build + cd build - make - make DESTDIR=$PKG install + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib32 \ + -DCMAKE_BUILD_TYPE=Release \ + -DSPIRV_WERROR=OFF \ + -DSPIRV-Headers_SOURCE_DIR=/usr \ + -DPYTHON_EXECUTABLE=/usr/bin/python3 \ + -G Ninja - rm -r $PKG/usr/{bin,include} + ninja + DESTDIR=$PKG ninja install + + rm -r $PKG/usr/{bin,include} } |