From cc85829fb9e48a227250e8b33b9c30332a3c5d27 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 25 Jul 2021 15:33:06 +0300 Subject: gnu: llvm-julia: Overide build-type. * gnu/packages/julia.scm (llvm-julia)[arguments]: Move CMAKE_BUILD_TYPE config from configure-flags to build-type. --- gnu/packages/julia.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/julia.scm') 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. -- cgit 1.4.1