Update package version to 22.1.4
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
name: libclc
|
name: libclc
|
||||||
description: Open Source implementation of the library requirements of the OpenCL C programming language
|
description: Open Source implementation of the library requirements of the OpenCL C programming language
|
||||||
version: 21.1.8
|
version: 22.1.4
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://libclc.llvm.org/
|
url: https://libclc.llvm.org/
|
||||||
license: NCSA OR MIT
|
license: NCSA OR MIT
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
make_depends:
|
make_depends:
|
||||||
@@ -14,7 +16,7 @@ make_depends:
|
|||||||
- python3
|
- python3
|
||||||
- spirv-llvm-translator
|
- spirv-llvm-translator
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/llvm/llvm-project/releases/download/llvmorg-${BPM_PKG_VERSION}/libclc-${BPM_PKG_VERSION}.src.tar.xz
|
- url: https://github.com/llvm/llvm-project/releases/download/llvmorg-${BPM_PKG_VERSION}/llvm-project-${BPM_PKG_VERSION}.src.tar.xz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 6c2677362a53531c35edf482bdc9171ea0471ca0a1e9138ac9b5a1782925616f
|
checksum: 3e68c90dda630c27d41d201e37b8bbf5222e39b273dec5ca880709c69e0a07d4
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
cd libclc
|
||||||
|
|
||||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G Ninja
|
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G Ninja
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
@@ -12,6 +14,8 @@ build() {
|
|||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
|
cd libclc
|
||||||
|
|
||||||
DESTDIR="$BPM_OUTPUT" cmake --install build
|
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
|
|||||||
Reference in New Issue
Block a user