Skip to contentSkip to conversation

package/spirv-tools: needs gcc >= 8

PATCH In review Fabrice Fontaine 2 participants 3 messages Mar 2, 2024 – Mar 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/spirv-tools: needs gcc >= 8

spirv-tools unconditionnally includes filesystem since its addition in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c resulting in the following build failure:

/home/buildroot/autobuild/run/instance-1/output-1/build/spirv-tools-1.3.261.1/tools/objdump/objdump.cpp:15:10: fatal error: filesystem: No such file or directory

 #include <filesystem>
          ^~~~~~~~~~~~
Fixes 0a01085abeb7d8a097cb68b9f7f4faec7711543c

- http://autobuild.buildroot.org/results/aaeb0ca8773842768f9311fc804bb7529d9e3bfa

---
 package/spirv-tools/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/spirv-tools/Config.in +3 -3
index 39fdb80b86..fa9b615c56 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_SPIRV_TOOLS
 	bool "spirv-tools"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
 	select BR2_PACKAGE_SPIRV_HEADERS
 	help
 	  The SPIR-V Tools project provides an API and commands for
@@ -9,6 +9,6 @@ config BR2_PACKAGE_SPIRV_TOOLS
 
 	  https://github.com/KhronosGroup/SPIRV-Tools
 
-comment "spirv-tools needs a toolchain w/ C++, gcc >= 7"
+comment "spirv-tools needs a toolchain w/ C++, gcc >= 8"
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_8
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

spirv-tools unconditionnally includes filesystem since its addition in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c resulting in the following build failure:

Quoted 8 lines

/home/buildroot/autobuild/run/instance-1/output-1/build/spirv-tools-1.3.261.1/tools/objdump/objdump.cpp:15:10: fatal error: filesystem: No such file or directory

 #include <filesystem>
          ^~~~~~~~~~~~
Fixes 0a01085abeb7d8a097cb68b9f7f4faec7711543c

- http://autobuild.buildroot.org/results/aaeb0ca8773842768f9311fc804bb7529d9e3bfa

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

spirv-tools unconditionnally includes filesystem since its addition in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c resulting in the following build failure:

Quoted 8 lines

/home/buildroot/autobuild/run/instance-1/output-1/build/spirv-tools-1.3.261.1/tools/objdump/objdump.cpp:15:10: fatal error: filesystem: No such file or directory

 #include <filesystem>
          ^~~~~~~~~~~~
Fixes 0a01085abeb7d8a097cb68b9f7f4faec7711543c

- http://autobuild.buildroot.org/results/aaeb0ca8773842768f9311fc804bb7529d9e3bfa

Committed to 2023.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot