Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] include-what-you-use: update to 0.22.
@ 2024-07-07 15:16 meator
  2024-07-07 17:28 ` [PR REVIEW] " Calandracas606
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: meator @ 2024-07-07 15:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]

There is a new pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/51140

include-what-you-use: update to 0.22.
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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/51140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-51140.patch --]
[-- Type: text/x-diff, Size: 1435 bytes --]

From 89265e528fb5f010428a6531c7853ead8cfe961d Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 7 Jul 2024 17:05:34 +0200
Subject: [PATCH] include-what-you-use: update to 0.22.

---
 srcpkgs/include-what-you-use/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/include-what-you-use/template b/srcpkgs/include-what-you-use/template
index ee12c0ee51d88b..6ee47fffe9efe3 100644
--- a/srcpkgs/include-what-you-use/template
+++ b/srcpkgs/include-what-you-use/template
@@ -1,17 +1,17 @@
 # Template file for 'include-what-you-use'
 pkgname=include-what-you-use
-version=0.20
+version=0.22
 revision=1
 build_style=cmake
-configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
+configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="python3"
-makedepends="clang clang-tools-extra llvm17-devel ncurses-devel zlib-devel"
+makedepends="clang18 clang-tools-extra18 llvm18-devel ncurses-devel zlib-devel"
 short_desc="Analyze #includes in C and C++ source files"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="NCSA"
 homepage="https://include-what-you-use.org/"
 distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
-checksum=75fce1e6485f280f8f13f4c2d090b11d2fd2102b50857507c8413a919b7af899
+checksum=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
 python_version=3
 
 post_install() {

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
@ 2024-07-07 17:28 ` Calandracas606
  2024-07-07 17:41 ` [PR PATCH] [Updated] " meator
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Calandracas606 @ 2024-07-07 17:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

New review comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/51140#discussion_r1667734486

Comment:
```suggestion
makedepends="llvm18-devel ncurses-devel zlib-devel"
```
llvm18-devel will pull in clang18, and clang-tools-extra18

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
  2024-07-07 17:28 ` [PR REVIEW] " Calandracas606
@ 2024-07-07 17:41 ` meator
  2024-07-07 17:41 ` [PR REVIEW] " meator
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-07 17:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/51140

include-what-you-use: update to 0.22.
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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/51140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-51140.patch --]
[-- Type: text/x-diff, Size: 1407 bytes --]

From 6c1dfd461694fe094bce229cb8a1c1f7c9f3d8e9 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 7 Jul 2024 17:05:34 +0200
Subject: [PATCH] include-what-you-use: update to 0.22.

---
 srcpkgs/include-what-you-use/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/include-what-you-use/template b/srcpkgs/include-what-you-use/template
index ee12c0ee51d88b..b2d6f35ab5e872 100644
--- a/srcpkgs/include-what-you-use/template
+++ b/srcpkgs/include-what-you-use/template
@@ -1,17 +1,17 @@
 # Template file for 'include-what-you-use'
 pkgname=include-what-you-use
-version=0.20
+version=0.22
 revision=1
 build_style=cmake
-configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
+configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="python3"
-makedepends="clang clang-tools-extra llvm17-devel ncurses-devel zlib-devel"
+makedepends="llvm18-devel ncurses-devel zlib-devel"
 short_desc="Analyze #includes in C and C++ source files"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="NCSA"
 homepage="https://include-what-you-use.org/"
 distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
-checksum=75fce1e6485f280f8f13f4c2d090b11d2fd2102b50857507c8413a919b7af899
+checksum=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
 python_version=3
 
 post_install() {

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
  2024-07-07 17:28 ` [PR REVIEW] " Calandracas606
  2024-07-07 17:41 ` [PR PATCH] [Updated] " meator
@ 2024-07-07 17:41 ` meator
  2024-07-07 18:04 ` Calandracas606
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-07 17:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

New review comment by meator on void-packages repository

https://github.com/void-linux/void-packages/pull/51140#discussion_r1667736260

Comment:
OK, thanks!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (2 preceding siblings ...)
  2024-07-07 17:41 ` [PR REVIEW] " meator
@ 2024-07-07 18:04 ` Calandracas606
  2024-07-07 18:45 ` [PR PATCH] [Updated] " meator
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Calandracas606 @ 2024-07-07 18:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/51140#issuecomment-2212525496

Comment:
the failed check seems relatively harmless, related to openmp cuda offloading, but void doesn't support cuda

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (3 preceding siblings ...)
  2024-07-07 18:04 ` Calandracas606
@ 2024-07-07 18:45 ` meator
  2024-07-07 19:20 ` meator
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-07 18:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/51140

include-what-you-use: update to 0.22.
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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/51140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-51140.patch --]
[-- Type: text/x-diff, Size: 3027 bytes --]

From d7ce0ec79970d67faa64b4e025e2067edda56ac1 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 7 Jul 2024 17:05:34 +0200
Subject: [PATCH] include-what-you-use: update to 0.22.

---
 .../patches/disable_offload_openmp_test.patch | 30 +++++++++++++++++++
 srcpkgs/include-what-you-use/template         |  8 ++---
 2 files changed, 34 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/include-what-you-use/patches/disable_offload_openmp_test.patch

diff --git a/srcpkgs/include-what-you-use/patches/disable_offload_openmp_test.patch b/srcpkgs/include-what-you-use/patches/disable_offload_openmp_test.patch
new file mode 100644
index 00000000000000..5f48177debf884
--- /dev/null
+++ b/srcpkgs/include-what-you-use/patches/disable_offload_openmp_test.patch
@@ -0,0 +1,30 @@
+This test requires CUDA, which isn't available on Void.
+--- a/tests/driver/offload_openmp.c
++++ b/tests/driver/offload_openmp.c
+@@ -1,26 +0,0 @@
+-//===--- offload_openmp.c - test input file for IWYU ----------------------===//
+-//
+-//                     The LLVM Compiler Infrastructure
+-//
+-// This file is distributed under the University of Illinois Open Source
+-// License. See LICENSE.TXT for details.
+-//
+-//===----------------------------------------------------------------------===//
+-
+-// Check that IWYU ignores the extra offload compiler job produced when
+-// compiling for OpenMP.
+-
+-// IWYU_ARGS: -fopenmp -fopenmp-targets=nvptx64 -nocudalib
+-
+-// This first diagnostic only happens because I don't have an nvptx64 toolchain
+-// on my machine -- this test should maybe be conditional on the presence of
+-// such a toolchain.
+-// IWYU~: Executable ".*" doesn't exist!; consider passing it via '-march'
+-
+-// IWYU~: ignoring offload job for device toolchain: openmp
+-
+-/**** IWYU_SUMMARY(0)
+-
+-(tests/driver/offload_openmp.c has correct #includes/fwd-decls)
+-
+-***** IWYU_SUMMARY */
diff --git a/srcpkgs/include-what-you-use/template b/srcpkgs/include-what-you-use/template
index ee12c0ee51d88b..b2d6f35ab5e872 100644
--- a/srcpkgs/include-what-you-use/template
+++ b/srcpkgs/include-what-you-use/template
@@ -1,17 +1,17 @@
 # Template file for 'include-what-you-use'
 pkgname=include-what-you-use
-version=0.20
+version=0.22
 revision=1
 build_style=cmake
-configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
+configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="python3"
-makedepends="clang clang-tools-extra llvm17-devel ncurses-devel zlib-devel"
+makedepends="llvm18-devel ncurses-devel zlib-devel"
 short_desc="Analyze #includes in C and C++ source files"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="NCSA"
 homepage="https://include-what-you-use.org/"
 distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
-checksum=75fce1e6485f280f8f13f4c2d090b11d2fd2102b50857507c8413a919b7af899
+checksum=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
 python_version=3
 
 post_install() {

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (4 preceding siblings ...)
  2024-07-07 18:45 ` [PR PATCH] [Updated] " meator
@ 2024-07-07 19:20 ` meator
  2024-07-07 19:26 ` meator
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-07 19:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/51140

include-what-you-use: update to 0.22.
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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/51140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-51140.patch --]
[-- Type: text/x-diff, Size: 1599 bytes --]

From e2c5dbc5707b0bc8f46338a370e616480a1f4fb3 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 7 Jul 2024 17:05:34 +0200
Subject: [PATCH] include-what-you-use: update to 0.22.

---
 srcpkgs/include-what-you-use/template | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/include-what-you-use/template b/srcpkgs/include-what-you-use/template
index ee12c0ee51d88b..6009cded2a8d0c 100644
--- a/srcpkgs/include-what-you-use/template
+++ b/srcpkgs/include-what-you-use/template
@@ -1,19 +1,25 @@
 # Template file for 'include-what-you-use'
 pkgname=include-what-you-use
-version=0.20
+version=0.22
 revision=1
 build_style=cmake
-configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
+configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="python3"
-makedepends="clang clang-tools-extra llvm17-devel ncurses-devel zlib-devel"
+makedepends="llvm18-devel ncurses-devel zlib-devel"
 short_desc="Analyze #includes in C and C++ source files"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="NCSA"
 homepage="https://include-what-you-use.org/"
 distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
-checksum=75fce1e6485f280f8f13f4c2d090b11d2fd2102b50857507c8413a919b7af899
+checksum=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
 python_version=3
 
+do_patch() {
+	# This test is faulty;
+	# see https://github.com/include-what-you-use/include-what-you-use/pull/1565
+	rm tests/driver/offload_openmp.c
+}
+
 post_install() {
 	vlicense LICENSE.TXT
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (5 preceding siblings ...)
  2024-07-07 19:20 ` meator
@ 2024-07-07 19:26 ` meator
  2024-07-07 19:47 ` meator
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-07 19:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/51140

include-what-you-use: update to 0.22.
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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/51140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-51140.patch --]
[-- Type: text/x-diff, Size: 3937 bytes --]

From 29ee1bc170dae3b0880b03e098244c4c3cdba846 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 7 Jul 2024 17:05:34 +0200
Subject: [PATCH] include-what-you-use: update to 0.22.

---
 .../patches/remove_offload_openmp_test.patch  | 53 +++++++++++++++++++
 srcpkgs/include-what-you-use/template         |  8 +--
 2 files changed, 57 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch

diff --git a/srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch b/srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch
new file mode 100644
index 00000000000000..8082e5bce13b07
--- /dev/null
+++ b/srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch
@@ -0,0 +1,53 @@
+From 1fad6361aedd19c44d5f1d85be01ba07299b3fb6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kim=20Gr=C3=A4sman?= <kim.grasman@gmail.com>
+Date: Sun, 7 Jul 2024 20:51:49 +0200
+Subject: [PATCH] Remove brittle offload_openmp driver testcase
+
+This testcase kind-of proved that our driver drops OpenMP/NVPTX jobs,
+but it was heavily dependent on the target environment.
+
+I'd only executed it on my own machine, and our CI environment, neither
+of which have any OpenMP toolchains installed.
+
+If such a toolchain _is_ installed the failure diagnostics will not
+match, and the test will fail.
+
+Since we don't have any control of the environment for these tests, and
+no way to isolate them, remove the test.
+---
+ tests/driver/offload_openmp.c | 26 --------------------------
+ 1 file changed, 26 deletions(-)
+ delete mode 100644 tests/driver/offload_openmp.c
+
+diff --git a/tests/driver/offload_openmp.c b/tests/driver/offload_openmp.c
+deleted file mode 100644
+index 2625369c9..000000000
+--- a/tests/driver/offload_openmp.c
++++ /dev/null
+@@ -1,26 +0,0 @@
+-//===--- offload_openmp.c - test input file for IWYU ----------------------===//
+-//
+-//                     The LLVM Compiler Infrastructure
+-//
+-// This file is distributed under the University of Illinois Open Source
+-// License. See LICENSE.TXT for details.
+-//
+-//===----------------------------------------------------------------------===//
+-
+-// Check that IWYU ignores the extra offload compiler job produced when
+-// compiling for OpenMP.
+-
+-// IWYU_ARGS: -fopenmp -fopenmp-targets=nvptx64 -nocudalib
+-
+-// This first diagnostic only happens because I don't have an nvptx64 toolchain
+-// on my machine -- this test should maybe be conditional on the presence of
+-// such a toolchain.
+-// IWYU~: Executable ".*" doesn't exist!; consider passing it via '-march'
+-
+-// IWYU~: ignoring offload job for device toolchain: openmp
+-
+-/**** IWYU_SUMMARY(0)
+-
+-(tests/driver/offload_openmp.c has correct #includes/fwd-decls)
+-
+-***** IWYU_SUMMARY */
diff --git a/srcpkgs/include-what-you-use/template b/srcpkgs/include-what-you-use/template
index ee12c0ee51d88b..b2d6f35ab5e872 100644
--- a/srcpkgs/include-what-you-use/template
+++ b/srcpkgs/include-what-you-use/template
@@ -1,17 +1,17 @@
 # Template file for 'include-what-you-use'
 pkgname=include-what-you-use
-version=0.20
+version=0.22
 revision=1
 build_style=cmake
-configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
+configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="python3"
-makedepends="clang clang-tools-extra llvm17-devel ncurses-devel zlib-devel"
+makedepends="llvm18-devel ncurses-devel zlib-devel"
 short_desc="Analyze #includes in C and C++ source files"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="NCSA"
 homepage="https://include-what-you-use.org/"
 distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
-checksum=75fce1e6485f280f8f13f4c2d090b11d2fd2102b50857507c8413a919b7af899
+checksum=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
 python_version=3
 
 post_install() {

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (6 preceding siblings ...)
  2024-07-07 19:26 ` meator
@ 2024-07-07 19:47 ` meator
  2024-07-08 19:58 ` [PR PATCH] [Updated] " meator
  2024-07-16  5:42 ` [PR PATCH] [Closed]: " classabbyamp
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-07 19:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

New comment by meator on void-packages repository

https://github.com/void-linux/void-packages/pull/51140#issuecomment-2212550678

Comment:
See https://github.com/include-what-you-use/include-what-you-use/issues/1564 This will be fixed in 0.23

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (7 preceding siblings ...)
  2024-07-07 19:47 ` meator
@ 2024-07-08 19:58 ` meator
  2024-07-16  5:42 ` [PR PATCH] [Closed]: " classabbyamp
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2024-07-08 19:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/51140

include-what-you-use: update to 0.22.
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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/51140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-51140.patch --]
[-- Type: text/x-diff, Size: 3937 bytes --]

From 71e1e3fc1c4bf3a587afa0c0a62408099995ecf9 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 7 Jul 2024 17:05:34 +0200
Subject: [PATCH] include-what-you-use: update to 0.22.

---
 .../patches/remove_offload_openmp_test.patch  | 53 +++++++++++++++++++
 srcpkgs/include-what-you-use/template         |  8 +--
 2 files changed, 57 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch

diff --git a/srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch b/srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch
new file mode 100644
index 00000000000000..8082e5bce13b07
--- /dev/null
+++ b/srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch
@@ -0,0 +1,53 @@
+From 1fad6361aedd19c44d5f1d85be01ba07299b3fb6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kim=20Gr=C3=A4sman?= <kim.grasman@gmail.com>
+Date: Sun, 7 Jul 2024 20:51:49 +0200
+Subject: [PATCH] Remove brittle offload_openmp driver testcase
+
+This testcase kind-of proved that our driver drops OpenMP/NVPTX jobs,
+but it was heavily dependent on the target environment.
+
+I'd only executed it on my own machine, and our CI environment, neither
+of which have any OpenMP toolchains installed.
+
+If such a toolchain _is_ installed the failure diagnostics will not
+match, and the test will fail.
+
+Since we don't have any control of the environment for these tests, and
+no way to isolate them, remove the test.
+---
+ tests/driver/offload_openmp.c | 26 --------------------------
+ 1 file changed, 26 deletions(-)
+ delete mode 100644 tests/driver/offload_openmp.c
+
+diff --git a/tests/driver/offload_openmp.c b/tests/driver/offload_openmp.c
+deleted file mode 100644
+index 2625369c9..000000000
+--- a/tests/driver/offload_openmp.c
++++ /dev/null
+@@ -1,26 +0,0 @@
+-//===--- offload_openmp.c - test input file for IWYU ----------------------===//
+-//
+-//                     The LLVM Compiler Infrastructure
+-//
+-// This file is distributed under the University of Illinois Open Source
+-// License. See LICENSE.TXT for details.
+-//
+-//===----------------------------------------------------------------------===//
+-
+-// Check that IWYU ignores the extra offload compiler job produced when
+-// compiling for OpenMP.
+-
+-// IWYU_ARGS: -fopenmp -fopenmp-targets=nvptx64 -nocudalib
+-
+-// This first diagnostic only happens because I don't have an nvptx64 toolchain
+-// on my machine -- this test should maybe be conditional on the presence of
+-// such a toolchain.
+-// IWYU~: Executable ".*" doesn't exist!; consider passing it via '-march'
+-
+-// IWYU~: ignoring offload job for device toolchain: openmp
+-
+-/**** IWYU_SUMMARY(0)
+-
+-(tests/driver/offload_openmp.c has correct #includes/fwd-decls)
+-
+-***** IWYU_SUMMARY */
diff --git a/srcpkgs/include-what-you-use/template b/srcpkgs/include-what-you-use/template
index ee12c0ee51d88b..b2d6f35ab5e872 100644
--- a/srcpkgs/include-what-you-use/template
+++ b/srcpkgs/include-what-you-use/template
@@ -1,17 +1,17 @@
 # Template file for 'include-what-you-use'
 pkgname=include-what-you-use
-version=0.20
+version=0.22
 revision=1
 build_style=cmake
-configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
+configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="python3"
-makedepends="clang clang-tools-extra llvm17-devel ncurses-devel zlib-devel"
+makedepends="llvm18-devel ncurses-devel zlib-devel"
 short_desc="Analyze #includes in C and C++ source files"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="NCSA"
 homepage="https://include-what-you-use.org/"
 distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
-checksum=75fce1e6485f280f8f13f4c2d090b11d2fd2102b50857507c8413a919b7af899
+checksum=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
 python_version=3
 
 post_install() {

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Closed]: include-what-you-use: update to 0.22.
  2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
                   ` (8 preceding siblings ...)
  2024-07-08 19:58 ` [PR PATCH] [Updated] " meator
@ 2024-07-16  5:42 ` classabbyamp
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2024-07-16  5:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

There's a closed pull request on the void-packages repository

include-what-you-use: update to 0.22.
https://github.com/void-linux/void-packages/pull/51140

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

I am not sure whether it would be more appropriate to update to version 0.21 instead. Version 0.21 depends on LLVM 17, which is the current "default" version on Void.

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @leahneukirchen 

<!--
#### 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] 11+ messages in thread

end of thread, other threads:[~2024-07-16  5:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-07 15:16 [PR PATCH] include-what-you-use: update to 0.22 meator
2024-07-07 17:28 ` [PR REVIEW] " Calandracas606
2024-07-07 17:41 ` [PR PATCH] [Updated] " meator
2024-07-07 17:41 ` [PR REVIEW] " meator
2024-07-07 18:04 ` Calandracas606
2024-07-07 18:45 ` [PR PATCH] [Updated] " meator
2024-07-07 19:20 ` meator
2024-07-07 19:26 ` meator
2024-07-07 19:47 ` meator
2024-07-08 19:58 ` [PR PATCH] [Updated] " meator
2024-07-16  5:42 ` [PR PATCH] [Closed]: " 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).