Skip to content

Commit

Permalink
spirv-llvm-translator: Add version 18.1.3
Browse files Browse the repository at this point in the history
[Descrpition][1]:

> The SPIRV-LLVM-Translator package contains a library and utility for
> converting between LLVM IR and SPIR-V code. This package currently
> only supports the OpenCL/Compute version of SPIR-V.

[1]: https://www.linuxfromscratch.org/blfs/view/systemd/general/spirv-llvm-translator.html
  • Loading branch information
pmenzel committed Aug 2, 2024
1 parent 6f912aa commit 4847128
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions spirv-llvm-translator.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION spirv-llvm-translator-18.1.3-0

SRCURL[0]="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v${PKGVERSION}/SPIRV-LLVM-Translator-${PKGVERSION}.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
bee_configure \
-D BUILD_SHARED_LIBS=ON \
-D CMAKE_SKIP_INSTALL_RPATH=ON \
-D LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=${PREFIX}
}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}

0 comments on commit 4847128

Please sign in to comment.