mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add libomp-12.
* gnu/packages/llvm.scm (libomp-12): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
a46a980abe
commit
68dfb535d3
1 changed files with 21 additions and 0 deletions
|
@ -855,6 +855,27 @@ (define-public clang-12
|
|||
(base32
|
||||
"1r9a4fdz9ci58b5z2inwvm4z4cdp6scrivnaw05dggkxz7yrwrb5")))))
|
||||
|
||||
(define-public libomp-12
|
||||
(package
|
||||
(inherit libomp-13)
|
||||
(version (package-version llvm-12))
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (llvm-uri "openmp" version))
|
||||
(sha256
|
||||
(base32
|
||||
"14dh0r6h2xh747ffgnsl4z08h0ri04azi9vf79cbz7ma1r27kzk0"))
|
||||
(file-name (string-append "libomp-" version ".tar.xz"))))
|
||||
(arguments
|
||||
'(#:configure-flags '("-DLIBOMP_USE_HWLOC=ON"
|
||||
"-DOPENMP_TEST_C_COMPILER=clang"
|
||||
"-DOPENMP_TEST_CXX_COMPILER=clang++")
|
||||
#:test-target "check-libomp"))
|
||||
(native-inputs
|
||||
(modify-inputs (package-native-inputs libomp-13)
|
||||
(replace "clang" clang-12)
|
||||
(replace "llvm" llvm-12)))))
|
||||
|
||||
(define-public clang-toolchain-12
|
||||
(make-clang-toolchain clang-12))
|
||||
|
||||
|
|
Loading…
Reference in a new issue