gnu: llvm-julia: Overide build-type.

* gnu/packages/julia.scm (llvm-julia)[arguments]: Move CMAKE_BUILD_TYPE
config from configure-flags to build-type.
This commit is contained in:
Efraim Flashner 2021-07-25 15:33:06 +03:00
parent 6adea67cb0
commit cc85829fb9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -195,10 +195,9 @@ (define llvm-julia
"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.