diff --git a/pkg.info b/pkg.info index f951952..755d53a 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: libclc description: Open Source implementation of the library requirements of the OpenCL C programming language -version: 21.1.8 +version: 22.1.4 revision: 1 url: https://libclc.llvm.org/ license: NCSA OR MIT +maintainers: + - enumdev@enumerated.dev architecture: any type: source make_depends: @@ -14,7 +16,7 @@ make_depends: - python3 - spirv-llvm-translator 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_strip_components: 1 - checksum: 6c2677362a53531c35edf482bdc9171ea0471ca0a1e9138ac9b5a1782925616f + checksum: 3e68c90dda630c27d41d201e37b8bbf5222e39b273dec5ca880709c69e0a07d4 diff --git a/source.sh b/source.sh index cca6da7..176261f 100644 --- a/source.sh +++ b/source.sh @@ -5,6 +5,8 @@ # The build function is executed in the source directory # This function is used to compile the source code build() { + cd libclc + cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G Ninja cmake --build build } @@ -12,6 +14,8 @@ build() { # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { + cd libclc + DESTDIR="$BPM_OUTPUT" cmake --install build # Install package license