mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: otf2: Update to 3.1.1.
* gnu/packages/profiling.scm (otf2): Update to 3.1.1. [source]: Change ‘uri’. [arguments]: Add ‘normalize-pkgconfig-files-location’ phase. Change-Id: I5addfe23a6b57a10bedcc3f9738672b873914c87 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
258284a93e
commit
6d063d7628
1 changed files with 12 additions and 5 deletions
|
@ -151,15 +151,15 @@ performance measurement opportunities across the hardware and software stack.")
|
|||
(define-public otf2
|
||||
(package
|
||||
(name "otf2")
|
||||
(version "2.1.1")
|
||||
(version "3.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.vi-hps.org/upload/packages/otf2/otf2-"
|
||||
version ".tar.gz"))
|
||||
(sha256 (base32 "1ls7rz6qwnqbkifpafc95bnfh3m9xbs74in8zxlnhfbgwx11nn81"))))
|
||||
(uri (string-append "https://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-"
|
||||
version "/otf2-" version ".tar.gz"))
|
||||
(sha256 (base32 "0vhai3xsb1kbqy2fqcvzv9pk886p1iq5pi9mzsadfkmca4x02kjs"))))
|
||||
(native-inputs (list python))
|
||||
(outputs '("doc" ; 18MB
|
||||
(outputs '("doc" ; 21MB
|
||||
"lib"
|
||||
"out"))
|
||||
(build-system gnu-build-system)
|
||||
|
@ -167,6 +167,13 @@ performance measurement opportunities across the hardware and software stack.")
|
|||
`(#:configure-flags '("--enable-shared" "--disable-static")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'normalize-pkgconfig-files-location
|
||||
(lambda _
|
||||
;; Prevent lib/pkgconfig/otf2-backend.pc from referencing the
|
||||
;; prefix of output "out" from the "lib" store location.
|
||||
(substitute* "otf2-build.pc.in"
|
||||
(("^prefix=.*") "")
|
||||
(("^exec_prefix=.*") ""))))
|
||||
(add-after 'install 'licence
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(for-each (lambda (output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue