summary refs log tree commit diff
path: root/gnu/packages/julia.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-07-25 15:33:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-07-28 16:05:32 +0300
commitcc85829fb9e48a227250e8b33b9c30332a3c5d27 (patch)
tree32b0057952b2fc2e38fed00c87bdb444161f8696 /gnu/packages/julia.scm
parent6adea67cb00cdd0cb2d9735c781850339cd964ed (diff)
downloadguix-cc85829fb9e48a227250e8b33b9c30332a3c5d27.tar.gz
gnu: llvm-julia: Overide build-type.
* gnu/packages/julia.scm (llvm-julia)[arguments]: Move CMAKE_BUILD_TYPE
config from configure-flags to build-type.
Diffstat (limited to 'gnu/packages/julia.scm')
-rw-r--r--gnu/packages/julia.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 815785e82d..b3d8992b54 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -195,10 +195,9 @@
                           "llvm-11-D97435-AArch64-movaddrreg"
                           "llvm-11-D97571-AArch64-loh"
                           "llvm-11-aarch64-addrspace"))))))
+       ((#:build-type _) "Release")
        ((#:configure-flags flags)
-        `(list ;; Taken from NixOS. Only way I could get libLLVM-6.0.so
-           "-DCMAKE_BUILD_TYPE=Release"
-
+        `(list
            ;; Build a native compiler and the NVPTX backend (NVIDIA) since
            ;; Julia insists on it, nothing more.  This reduces build times and
            ;; disk usage.