gnu: c2ffi: Update to 16.0.0.0.
* gnu/packages/cpp.scm (c2ffi): Update to 16.0.0.0. [native-inputs, inputs]: Replace clang-12 by clang-16. Change-Id: I8b9562ea865347eafd2e098c3cf2b42611140aff Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
6b971bc195
commit
9038a46751
1 changed files with 7 additions and 5 deletions
|
@ -279,16 +279,18 @@ use by the C++ Core Guidelines maintained by the Standard C++ Foundation.")
|
||||||
(name "c2ffi")
|
(name "c2ffi")
|
||||||
;; As per the c2ffi README: the first three elements are encoding the
|
;; As per the c2ffi README: the first three elements are encoding the
|
||||||
;; required Clang/LLVM version, and the last one is the c2ffi revision.
|
;; required Clang/LLVM version, and the last one is the c2ffi revision.
|
||||||
(version "12.0.0.0")
|
(version "16.0.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/rpav/c2ffi")
|
(url "https://github.com/rpav/c2ffi")
|
||||||
(commit (string-append "v" version))))
|
;; Upstream is not tagging releases consistently.
|
||||||
|
;; (commit (string-append "v" version))
|
||||||
|
(commit "097cbe61ca02dc79ea60859aa056975131a9d985")))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1qq8dfismd20d9kfxpfvwz07v9mfvd0y7p5r3c92mk2pm4xnmzfy"))
|
(base32 "1mqhw4838chl495gaj9z0731ahkmqb4f3wlc1qalk82fdsaniyd5"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(substitute* "CMakeLists.txt"
|
'(substitute* "CMakeLists.txt"
|
||||||
|
@ -309,9 +311,9 @@ LLVMOption LLVMBitReader LLVMProfileData")))))
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "./bin/c2ffi" "--help")))))))
|
(invoke "./bin/c2ffi" "--help")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list clang-12)) ; CMakeLists.txt invokes `clang -print-resource-dir`
|
(list clang-16)) ; CMakeLists.txt invokes `clang -print-resource-dir`
|
||||||
(inputs
|
(inputs
|
||||||
(list clang-12)) ; Compiled with gcc, but links against libclang-cpp.so
|
(list clang-16)) ; Compiled with gcc, but links against libclang-cpp.so
|
||||||
(home-page "https://github.com/rpav/c2ffi")
|
(home-page "https://github.com/rpav/c2ffi")
|
||||||
(synopsis "Clang-based FFI wrapper generator")
|
(synopsis "Clang-based FFI wrapper generator")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue