* [PR PATCH] SPIRV-LLVM-Translator: fix cross build
@ 2022-12-11 9:55 ardadem
2022-12-11 10:07 ` [PR PATCH] [Updated] " ardadem
2022-12-12 5:04 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: ardadem @ 2022-12-11 9:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2854 bytes --]
There is a new pull request by ardadem against master on the void-packages repository
https://github.com/ardadem/void-packages pr-spirv-llvm
https://github.com/void-linux/void-packages/pull/41016
SPIRV-LLVM-Translator: fix cross build
<!-- Uncomment relevant sections and delete options which are not applicable -->
Fixes the following build error;
```
-- The CXX compiler identification is GNU 10.2.1
-- The C compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
CMake Error at /usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake:1386 (message):
The imported target "sancov" references the file
"/usr/aarch64-linux-gnu/usr/bin/sancov"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/aarch64-linux-gnu/usr/lib64/cmake/llvm/LLVMConfig.cmake:278 (include)
CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
See also "/builddir/SPIRV-LLVM-Translator-12.0.0/build/CMakeFiles/CMakeOutput.log".
```
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41016.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-spirv-llvm-41016.patch --]
[-- Type: text/x-diff, Size: 1106 bytes --]
From 47017c8a85f30b08674145f76337af1e6dedf4a0 Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Sun, 11 Dec 2022 12:53:10 +0300
Subject: [PATCH] SPIRV-LLVM-Translator: fix cross build
---
srcpkgs/SPIRV-LLVM-Translator/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/SPIRV-LLVM-Translator/template b/srcpkgs/SPIRV-LLVM-Translator/template
index 2504cabed367..6e5ea4759f38 100644
--- a/srcpkgs/SPIRV-LLVM-Translator/template
+++ b/srcpkgs/SPIRV-LLVM-Translator/template
@@ -1,13 +1,13 @@
# Template file for 'SPIRV-LLVM-Translator'
pkgname=SPIRV-LLVM-Translator
version=12.0.0
-revision=1
+revision=2
build_style=cmake
make_build_args="llvm-spirv"
configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
-DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON"
-hostmakedepends="clang clang-tools-extra llvm"
-makedepends="llvm"
+hostmakedepends="clang llvm"
+makedepends="llvm clang-tools-extra"
short_desc="API and commands for processing SPIR-V modules"
maintainer="Orphaned <orphan@voidlinux.org>"
license="NCSA"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] SPIRV-LLVM-Translator: fix cross build
2022-12-11 9:55 [PR PATCH] SPIRV-LLVM-Translator: fix cross build ardadem
@ 2022-12-11 10:07 ` ardadem
2022-12-12 5:04 ` [PR PATCH] [Merged]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: ardadem @ 2022-12-11 10:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2859 bytes --]
There is an updated pull request by ardadem against master on the void-packages repository
https://github.com/ardadem/void-packages pr-spirv-llvm
https://github.com/void-linux/void-packages/pull/41016
SPIRV-LLVM-Translator: fix cross build
<!-- Uncomment relevant sections and delete options which are not applicable -->
Fixes the following build error;
```
-- The CXX compiler identification is GNU 10.2.1
-- The C compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
CMake Error at /usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake:1386 (message):
The imported target "sancov" references the file
"/usr/aarch64-linux-gnu/usr/bin/sancov"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/aarch64-linux-gnu/usr/lib64/cmake/llvm/LLVMConfig.cmake:278 (include)
CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
See also "/builddir/SPIRV-LLVM-Translator-12.0.0/build/CMakeFiles/CMakeOutput.log".
```
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41016.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-spirv-llvm-41016.patch --]
[-- Type: text/x-diff, Size: 1399 bytes --]
From 177c75f44a2d7ee9b24ae31bb55aed9da44f0273 Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Sun, 11 Dec 2022 12:53:10 +0300
Subject: [PATCH] SPIRV-LLVM-Translator: fix cross build
---
srcpkgs/SPIRV-LLVM-Translator/template | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/SPIRV-LLVM-Translator/template b/srcpkgs/SPIRV-LLVM-Translator/template
index 2504cabed367..a2754e58c0e8 100644
--- a/srcpkgs/SPIRV-LLVM-Translator/template
+++ b/srcpkgs/SPIRV-LLVM-Translator/template
@@ -1,20 +1,19 @@
# Template file for 'SPIRV-LLVM-Translator'
pkgname=SPIRV-LLVM-Translator
version=12.0.0
-revision=1
+revision=2
build_style=cmake
make_build_args="llvm-spirv"
configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
-DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON"
-hostmakedepends="clang clang-tools-extra llvm"
-makedepends="llvm"
+hostmakedepends="clang llvm"
+makedepends="clang-tools-extra llvm"
short_desc="API and commands for processing SPIR-V modules"
maintainer="Orphaned <orphan@voidlinux.org>"
license="NCSA"
homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
distfiles="https://github.com/KhronosGroup/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=6e4fad04203f25fcde4c308c53e9f59bd05a390978992db3212d4b63aff62108
-make_check=no
post_install() {
vlicense LICENSE.TXT
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: SPIRV-LLVM-Translator: fix cross build
2022-12-11 9:55 [PR PATCH] SPIRV-LLVM-Translator: fix cross build ardadem
2022-12-11 10:07 ` [PR PATCH] [Updated] " ardadem
@ 2022-12-12 5:04 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-12-12 5:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]
There's a merged pull request on the void-packages repository
SPIRV-LLVM-Translator: fix cross build
https://github.com/void-linux/void-packages/pull/41016
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
Fixes the following build error;
```
-- The CXX compiler identification is GNU 10.2.1
-- The C compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
CMake Error at /usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake:1386 (message):
The imported target "sancov" references the file
"/usr/aarch64-linux-gnu/usr/bin/sancov"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/aarch64-linux-gnu/usr/lib64/cmake/llvm/LLVMConfig.cmake:278 (include)
CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
See also "/builddir/SPIRV-LLVM-Translator-12.0.0/build/CMakeFiles/CMakeOutput.log".
```
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-12 5:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-11 9:55 [PR PATCH] SPIRV-LLVM-Translator: fix cross build ardadem
2022-12-11 10:07 ` [PR PATCH] [Updated] " ardadem
2022-12-12 5:04 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).