Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] llvm19: disable debug on 32bit build machines
@ 2024-11-12 21:30 Calandracas606
  2024-11-12 21:34 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: Calandracas606 @ 2024-11-12 21:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Calandracas606/void-packages llvm19-32-bit
https://github.com/void-linux/void-packages/pull/53033

llvm19: disable debug on 32bit build machines
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-llvm19-32-bit-53033.patch --]
[-- Type: text/x-diff, Size: 911 bytes --]

From f47e25a124b6ccdeb0da534ec8f5e76aafa8891a Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 12 Nov 2024 16:28:54 -0500
Subject: [PATCH] llvm19: disable debug on 32bit build machines

---
 srcpkgs/llvm19/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/llvm19/template b/srcpkgs/llvm19/template
index a88735d567e1cc..a99664ebdb341b 100644
--- a/srcpkgs/llvm19/template
+++ b/srcpkgs/llvm19/template
@@ -72,6 +72,10 @@ nocross="save the builders!"
 CFLAGS="-Wno-unused-command-line-argument"
 CXXFLAGS="-Wno-unused-command-line-argument"
 
+if [ "$XBPS_WORDSIZE" == "32" ]; then
+	nodebug=yes  # 32bit memory exhasted
+fi
+
 build_options="clang clang_tools_extra lld mlir libclc polly lldb flang bolt
  openmp libc libcxx libunwind offload llvm_spirv lto graphviz full_debug"
 build_options_default="clang clang_tools_extra lld mlir libclc polly lldb

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

* Re: [PR PATCH] [Merged]: llvm19: disable debug on 32bit build machines
  2024-11-12 21:30 [PR PATCH] llvm19: disable debug on 32bit build machines Calandracas606
@ 2024-11-12 21:34 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2024-11-12 21:34 UTC (permalink / raw)
  To: ml

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

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

llvm19: disable debug on 32bit build machines
https://github.com/void-linux/void-packages/pull/53033

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

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

<!--
#### 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
-->

[ci skip]

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

end of thread, other threads:[~2024-11-12 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-12 21:30 [PR PATCH] llvm19: disable debug on 32bit build machines Calandracas606
2024-11-12 21:34 ` [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).