mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 01:27:34 +00:00
Ports: Add highway
This library is used by multiple projects but was ported to get `libjxl` on SerenityOS.
This commit is contained in:
parent
09099cc9a3
commit
7a993cad7a
2 changed files with 22 additions and 0 deletions
21
Ports/highway/package.sh
Executable file
21
Ports/highway/package.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='highway'
|
||||
version='1.0.7'
|
||||
files=(
|
||||
"https://github.com/google/highway/archive/refs/tags/${version}.tar.gz#5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5"
|
||||
)
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DHWY_ENABLE_EXAMPLES=OFF"
|
||||
"-DHWY_ENABLE_TESTS=OFF"
|
||||
)
|
||||
useconfigure='true'
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run make "${installopts[@]}" install
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue