gnu: libomp: Update to 13.0.0.
* gnu/packages/llvm.scm (libomp): Update to 13.0.0. [arguments]: Add workaround to #:configure-flags. [native-inputs]: Change from CLANG-9 and LLVM-9 to CLANG and LLVM.
This commit is contained in:
parent
4ed2b6ac38
commit
a8d1e6bfa2
|
@ -1401,13 +1401,13 @@ (define-public libclc
|
||||||
(define-public libomp
|
(define-public libomp
|
||||||
(package
|
(package
|
||||||
(name "libomp")
|
(name "libomp")
|
||||||
(version "9.0.1")
|
(version "13.0.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (llvm-uri "openmp" version))
|
(uri (llvm-uri "openmp" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w"))
|
"0g29bq6kqyaqwi7c2l3lndjc6z4pxsvcdhjmh9lkp99931xawc29"))
|
||||||
(file-name (string-append "libomp-" version ".tar.xz"))))
|
(file-name (string-append "libomp-" version ".tar.xz"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
;; XXX: Note this gets built with GCC because building with Clang itself
|
;; XXX: Note this gets built with GCC because building with Clang itself
|
||||||
|
@ -1415,10 +1415,14 @@ (define-public libomp
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("-DLIBOMP_USE_HWLOC=ON"
|
'(#:configure-flags '("-DLIBOMP_USE_HWLOC=ON"
|
||||||
"-DOPENMP_TEST_C_COMPILER=clang"
|
"-DOPENMP_TEST_C_COMPILER=clang"
|
||||||
"-DOPENMP_TEST_CXX_COMPILER=clang++")
|
"-DOPENMP_TEST_CXX_COMPILER=clang++"
|
||||||
|
|
||||||
|
;; Work around faulty target detection, fixed in 14:
|
||||||
|
;; https://github.com/llvm/llvm-project/issues/52910
|
||||||
|
"-DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF")
|
||||||
#:test-target "check-libomp"))
|
#:test-target "check-libomp"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list clang-9 llvm-9 perl pkg-config))
|
(list clang llvm perl pkg-config python))
|
||||||
(inputs
|
(inputs
|
||||||
(list `(,hwloc "lib")))
|
(list `(,hwloc "lib")))
|
||||||
(home-page "https://openmp.llvm.org")
|
(home-page "https://openmp.llvm.org")
|
||||||
|
|
Loading…
Reference in a new issue