gnu: swift-llvm: Enable assertions.

* gnu/packages/llvm.scm (swift-llvm)[arguments]{configure-flags}: Enable assertions.

Closes: guix/guix#4015
Change-Id: I836898c21f4952e61886f237cba06d095b92402c
This commit is contained in:
Danny Milosavljevic 2025-11-02 17:48:13 +01:00
parent 4e067ef98d
commit f1ad9b5b82
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -2189,7 +2189,7 @@ cling '#include <stdio.h>' 'printf(\"Hello World!\\n\");'
"-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;PowerPC;SystemZ;Mips"
;; Python llvm.py adds this (not build-script-impl).
;; This would also enable dump() by undefining NDEBUG.
; FIXME: "-DLLVM_ENABLE_ASSERTIONS=TRUE"
"-DLLVM_ENABLE_ASSERTIONS=TRUE"
"-DLLVM_LIT_ARGS=-sv -j 16"
(string-append "-DGCC_INSTALL_PREFIX="
(assoc-ref %build-inputs "gcc-lib"))