aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-11-06 17:25:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-11-08 20:59:58 +0100
commit83c49858b518b98f88db5f50ce36c19084e7ad62 (patch)
tree3eb9c6e99bc9f5355f6850bc4ff9b27ea418585d /gnu/packages
parentf0ad50af8c0e91c60246c990d3d8ed4771ff18e4 (diff)
downloadguix-83c49858b518b98f88db5f50ce36c19084e7ad62.tar.gz
guix-83c49858b518b98f88db5f50ce36c19084e7ad62.zip
gnu: Add LLVM variant with RTTI support.
* gnu/packages/llvm.scm (llvm-with-rtti): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/llvm.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1a1f7eef6c..96679bf97b 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -85,6 +85,17 @@ languages is in development. The compiler infrastructure includes mirror sets
of programming tools as well as libraries with equivalent functionality.")
(license license:ncsa)))
+(define-public llvm-with-rtti
+ (package (inherit llvm)
+ (name "llvm-with-rtti")
+ (arguments
+ (substitute-keyword-arguments (package-arguments llvm)
+ ((#:configure-flags flags)
+ `(append '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
+ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
+ "-DLLVM_REQUIRES_RTTI=1")
+ ,flags))))))
+
(define (clang-runtime-from-llvm llvm hash)
(package
(name "clang-runtime")
: Remove 'validate-configuration'....Ludovic Courtès 2022-06-24services: configuration: Report the location of field type errors....Ludovic Courtès 2022-06-15services: configuration: Use *unspecified* instead of 'disabled....Attila Lendvai 2022-06-15services: configuration: Support (field1 maybe-number "") format....Attila Lendvai 2021-11-01services: configuration: Fix interpose implementation....Andrew Tropin 2021-10-09home: services: configuration: Support file-like objects....Oleg Pykhalov 2021-08-02services: configuration: Derive the default value from the package variable....Xinglu Chen 2021-08-02services: configuration: Uniformize the generated documentation....Xinglu Chen 2021-06-29services: configuration: Allow specifying prefix for serializer names....Xinglu Chen 2021-05-17services: configuration: Add a define-configuration/no-serialization syntax....Maxim Cournoyer 2021-05-17services: configuration: Add a define-maybe/no-serialization syntax....Maxim Cournoyer 2021-05-08services: configuration: Export 'no-serialization' syntactic keyword....Ludovic Courtès 2021-05-08services: configuration: Fix %location accessor name....Maxim Cournoyer 2021-05-08services: configuration: Allow specifying a custom serializer....Xinglu Chen 2021-05-08services: configuration: Allow disabling serialization....Maxim Cournoyer 2021-05-08services: configuration: Avoid a compilation warning....Maxim Cournoyer 2021-05-07services: configuration: Add a new helper to ease generating documentation....Maxim Cournoyer 2021-05-07services: configuration: Support fields without default values....Xinglu Chen