mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
1e6ddceb83
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS. * gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise. * gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]: Likewise. * gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise. * gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise. * gnu/packages/astronomy.scm (casacore, sextractor, libnova) (xplanet)[home-page]: Likewise. * gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao) (freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms) (libmodplug, libxmp, xmp, sox, drc, gsm, gnaural) (streamripper)[home-page]: Likewise. * gnu/packages/authentication.scm (pamtester)[home-page]: Likewise. * gnu/packages/backup.scm (grsync)[home-page]: Likewise. * gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma) (r-plgem)[home-page]: Likewise. * gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1) (bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard) (java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools) (snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip) (libsbml)[home-page]: Likewise. * gnu/packages/build-tools.scm (tup)[home-page]: Likewise. * gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools) (cd-discid)[home-page]: Likewise. * gnu/packages/check.scm (cunit, python-nose) (python-pyhamcrest)[home-page]: Likewise. * gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise. * gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise. * gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise. * gnu/packages/compression.scm (p7zip)[home-page]: Likewise. * gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial) (r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook) (r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags) (r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm) (r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet) (r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde) (r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels) (r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom) (r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat) (r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]: Likewise. * gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13) (rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20) (rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20) (rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20) (rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise. * gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise. * gnu/packages/curl.scm (curlpp)[home-page]: Likewise. * gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger) (libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers) (soci)[home-page]: Likewise. * gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise. * gnu/packages/debug.scm (remake)[home-page]: Likewise. * gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise. * gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise. * gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise. * gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise. * gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise. * gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise. * gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise. * gnu/packages/electronics.scm (xoscope)[home-page]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu) (emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel) (emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc) (emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap) (emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+) (emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise. * gnu/packages/embedded.scm (sdcc)[home-page]: Likewise. * gnu/packages/engineering.scm (asco, libngspice, libspnav) (openctm)[home-page]: Likewise. * gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise. * gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]: Likewise. * gnu/packages/finance.scm (gbonds)[home-page]: Likewise. * gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]: Likewise. * gnu/packages/fltk.scm (ntk)[home-page]: Likewise. * gnu/packages/fonts.scm (font-terminus, font-tex-gyre) (font-comic-neue)[home-page]: Likewise. * gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]: Likewise. * gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave) (python-myhdl)[home-page]: Likewise. * gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise. * gnu/packages/ftp.scm (weex)[home-page]: Likewise. * gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc) (eureka, plib)[home-page]: Likewise. * gnu/packages/games.scm (abe, alex4, armagetronad, barony) (foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally) (cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki) (quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks) (flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise. * gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise. * gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise. * gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish) (workrave)[home-page]: Likewise. * gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise. * gnu/packages/graph.scm (mscgen)[home-page]: Likewise. * gnu/packages/graphics.scm (assimp, alembic, ctl, agg) (opencsg)[home-page]: Likewise. * gnu/packages/graphviz.scm (gts)[home-page]: Likewise. * gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise. * gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise. * gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise. * gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise. * gnu/packages/haskell-web.scm (ghc-http-client-restricted) (ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg) (ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats) (ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints) (ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon) (ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards) (ghc-template-haskell, ghc-boot-th, ghc-binary-orphans) (ghc-postgresql-simple)[home-page]: Likewise. * gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise. * gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise. * gnu/packages/image-processing.scm (mia)[home-page]: Likewise. * gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr) (qiv)[home-page]: Likewise. * gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib) (sng, mtpaint)[home-page]: Likewise. * gnu/packages/java-xml.scm (java-simple-xml, java-jaxp) (java-apache-xml-commons-resolver)[home-page]: Likewise. * gnu/packages/java.scm (java-cisd-base, java-cisd-args4j) (java-hamcrest-core, java-jsr305, java-eclipse-osgi) (java-eclipse-equinox-common, java-eclipse-core-jobs) (java-eclipse-equinox-registry, java-eclipse-equinox-app) (java-eclipse-equinox-preferences, java-eclipse-core-contenttype) (java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq) (java-cdi-api)[home-page]: Likewise. * gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise. * gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]: Likewise. * gnu/packages/kde-internet.scm (kget)[home-page]: Likewise. * gnu/packages/kde-systemtools.scm (dolphin-plugins) (konsole)[home-page]: Likewise. * gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise. * gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise. * gnu/packages/lego.scm (nqc)[home-page]: Likewise. * gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise. * gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise. * gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise. * gnu/packages/libffi.scm (libffi)[home-page]: Likewise. * gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]: Likewise. * gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise. * gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools) (kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise. * gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser) (sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore) (sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell) (sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise. * gnu/packages/lisp.scm (lush2)[home-page]: Likewise. * gnu/packages/logging.scm (log4cpp)[home-page]: Likewise. * gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise. * gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]: Likewise. * gnu/packages/mail.scm (muchsync, procmail, sendmail) (opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise. * gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise. * gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh) (metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3) (frama-c)[home-page]: Likewise. * gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]: Likewise. * gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise. * gnu/packages/monitoring.scm (python-whisper, python-carbon) (hostscope)[home-page]: Likewise. * gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321) (lame)[home-page]: Likewise. * gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise. * gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol) (portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot) (schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2) (shiru-lv2)[home-page]: Likewise. * gnu/packages/ncurses.scm (stfl)[home-page]: Likewise. * gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird) (tunctl, traceroute)[home-page]: Likewise. * gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise. * gnu/packages/ntp.scm (openntpd)[home-page]: Likewise. * gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib) (ocaml-graph, cubicle)[home-page]: Likewise. * gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise. * gnu/packages/package-management.scm (xstow, modules)[home-page]: Likewise. * gnu/packages/parallel.scm (xjobs)[home-page]: Likewise. * gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]: Likewise. * gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]: Likewise. * gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]: Likewise. * gnu/packages/plan9.scm (drawterm)[home-page]: Likewise. * gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]: Likewise. * gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise. * gnu/packages/profiling.scm (otf2)[home-page]: Likewise. * gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise. * gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise. * gnu/packages/python-web.scm (python-cssutils) (python-translationstring)[home-page]: Likewise. * gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml) (python-docutils, python-pexpect, python-importlib-resources) (python-simplegeneric, python-urwid, python-xlrd, python-xlwt) (python-pyasn1, python-pythondialog, python-tftpy, python-random2) (python-arcp, python-pyopengl, python-sortedcollections) (python-sortedcontainers, python-yapsy, python-pydispatcher) (python-posix-ipc)[home-page]: Likewise. * gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise. * gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise. * gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise. * gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise. * gnu/packages/regex.scm (tre)[home-page]: Likewise. * gnu/packages/rsync.scm (librsync)[home-page]: Likewise. * gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox) (ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise. * gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise. * gnu/packages/screen.scm (dtach)[home-page]: Likewise. * gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise. * gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise. * gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise. * gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]: Likewise. * gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise. * gnu/packages/speech.scm (espeak)[home-page]: Likewise. * gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise. * gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice) (r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable) (python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm) (r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]: Likewise. * gnu/packages/swig.scm (swig)[home-page]: Likewise. * gnu/packages/task-management.scm (wtime)[home-page]: Likewise. * gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise. * gnu/packages/terminals.scm (libtermkey, mlterm, libvterm) (libvterm)[home-page]: Likewise. * gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs) (texlive-csplain, biber, texmaker)[home-page]: Likewise. * gnu/packages/text-editors.scm (joe)[home-page]: Likewise. * gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise. * gnu/packages/tv.scm (tvtime)[home-page]: Likewise. * gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise. * gnu/packages/upnp.scm (libupnp)[home-page]: Likewise. * gnu/packages/version-control.scm (cvs)[home-page]: Likewise. * gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib) (liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl) (dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise. * gnu/packages/virtualization.scm (bochs)[home-page]: Likewise. * gnu/packages/w3m.scm (w3m)[home-page]: Likewise. * gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi) (tidy-html, htmlcxx)[home-page]: Likewise. * gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise. * gnu/packages/wv.scm (wv)[home-page]: Likewise. * gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise. * gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise. * gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise. * gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c) (opensp)[home-page]: Likewise. * gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
391 lines
17 KiB
Scheme
391 lines
17 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2017 Dave Love <fx@gnu.org>
|
|
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
|
;;; Copyright © 2022 Ludovic Courtès <ludo@gnu.org>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages profiling)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix gexp)
|
|
#:use-module ((guix licenses) #:prefix license:) ; avoid zlib, expat clashes
|
|
#:use-module (guix download)
|
|
#:use-module (guix utils)
|
|
#:use-module (guix build-system gnu)
|
|
#:use-module (gnu packages)
|
|
#:use-module (gnu packages autotools)
|
|
#:use-module (gnu packages base) ;for "which"
|
|
#:use-module (gnu packages bison)
|
|
#:use-module (gnu packages compression)
|
|
#:use-module (gnu packages documentation)
|
|
#:use-module (gnu packages fabric-management)
|
|
#:use-module (gnu packages flex)
|
|
#:use-module (gnu packages gawk)
|
|
#:use-module (gnu packages gcc)
|
|
#:use-module (gnu packages glib)
|
|
#:use-module (gnu packages libunwind)
|
|
#:use-module (gnu packages linux)
|
|
#:use-module (gnu packages mpi)
|
|
#:use-module (gnu packages ncurses)
|
|
#:use-module (gnu packages perl)
|
|
#:use-module (gnu packages perl)
|
|
#:use-module (gnu packages python)
|
|
#:use-module (gnu packages qt))
|
|
|
|
;; Fixme: Separate out lib and fix resulting cycle errors; separate libpfm
|
|
;; output(?); build libmsr and add that component.
|
|
(define-public papi
|
|
(package
|
|
(name "papi")
|
|
(version "6.0.0.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "https://icl.utk.edu/projects/papi/downloads/papi-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0zr83v51lp4ijgk997dz9fpph48prlsbml26dvb223avqr8fvmrw"))
|
|
(modules '((guix build utils)))
|
|
(snippet
|
|
'(begin
|
|
;; Remove bundled software.
|
|
(for-each delete-file-recursively
|
|
'("src/libpfm-3.y" "src/libpfm4"
|
|
"src/perfctr-2.6.x"
|
|
"src/perfctr-2.7.x"))
|
|
|
|
;; Adjust include directives.
|
|
(substitute* "src/components/lmsensors/linux-lmsensors.c"
|
|
(("<sensors.h>")
|
|
"<sensors/sensors.h>"))))))
|
|
(build-system gnu-build-system)
|
|
(inputs
|
|
(list ncurses
|
|
rdma-core
|
|
libpfm4
|
|
`(,lm-sensors "lib")
|
|
`(,infiniband-diags "lib")
|
|
net-tools))
|
|
(native-inputs
|
|
(list gfortran))
|
|
(arguments
|
|
(list #:tests? #f ;no check target
|
|
#:configure-flags
|
|
;; These are roughly per Fedora, but elide mx (assumed to be dead, even
|
|
;; Open-MX) and add and powercap -- I don't know the pros/cons of
|
|
;; infiniband and infiniband_mad, but you can't use them together, and
|
|
;; the umad version needs at least one patch.
|
|
;; Implicit enabled components: perf_event perf_event_uncore
|
|
#~`("--with-perf-events" "--with-shared-lib=yes" "--with-shlib"
|
|
"--with-static-lib=no" "--with-shlib-tools"
|
|
"--with-components=appio coretemp example lustre micpower net rapl \
|
|
stealtime lmsensors infiniband powercap"
|
|
;; So utils get rpath set correctly:
|
|
,(string-append "LDFLAGS=-Xlinker -rpath -Xlinker "
|
|
#$output "/lib")
|
|
,(string-append "--with-pfm-prefix="
|
|
#$(this-package-input "libpfm4")))
|
|
|
|
#:phases
|
|
#~(modify-phases %standard-phases
|
|
(add-after 'unpack 'change-directory
|
|
(lambda _
|
|
(chdir "src")
|
|
|
|
;; Work around a mistake whereby 'configure' would always error
|
|
;; out when passing '--with-static-lib=no'.
|
|
(substitute* "configure"
|
|
(("test \"\\$static_lib\" = \"no\"")
|
|
"false"))))
|
|
(add-after 'install 'extra-doc
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((doc (string-append (assoc-ref outputs "out")
|
|
"/share/doc/"
|
|
#$name "-" #$version)))
|
|
(chdir "..") ; we went into src above
|
|
(for-each (lambda (file)
|
|
(install-file file doc))
|
|
'("README.md" "RELEASENOTES.txt"))))))))
|
|
(home-page "https://icl.utk.edu/papi/")
|
|
(synopsis "Performance Application Programming Interface")
|
|
(description
|
|
"PAPI provides the tool designer and application engineer with a consistent
|
|
interface and methodology for use of the performance counter hardware found in
|
|
most major microprocessors. PAPI enables software engineers to see, in near
|
|
real time, the relation between software performance and processor events.
|
|
|
|
In addition, PAPI provides access to a collection of components that expose
|
|
performance measurement opportunites across the hardware and software stack.")
|
|
(properties
|
|
'((release-monitoring-url
|
|
. "http://icl.cs.utk.edu/papi/software/")))
|
|
;; See Debian papi copyright file.
|
|
(license (list license:bsd-3
|
|
license:lgpl2.1+ ;src/components/infiniband/pscanf.h
|
|
;; not used in output
|
|
license:gpl2+ ;src/components/appio/tests/iozone/gengnuplot.sh
|
|
))))
|
|
|
|
;; NB. there's a potential name clash with libotf.
|
|
(define-public otf2
|
|
(package
|
|
(name "otf2")
|
|
(version "2.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"))))
|
|
(native-inputs (list python))
|
|
(outputs '("doc" ; 18MB
|
|
"lib"
|
|
"out"))
|
|
(build-system gnu-build-system)
|
|
(arguments
|
|
`(#:configure-flags '("--enable-shared" "--disable-static")
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'install 'licence
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(for-each (lambda (output)
|
|
(let ((doc (string-append (assoc-ref outputs output)
|
|
"/share/doc/otf2")))
|
|
(install-file "COPYING" doc)))
|
|
'("lib" "doc"))
|
|
#t)))))
|
|
(home-page "https://www.vi-hps.org/projects/score-p/")
|
|
(synopsis "Open Trace Format 2 library")
|
|
(description "The Open Trace Format 2 (@dfn{OTF2}) is a scalable,
|
|
memory-efficient event trace data format plus support library.")
|
|
(license license:bsd-3)))
|
|
|
|
(define-public opari2
|
|
(package
|
|
(name "opari2")
|
|
(version "2.0.5")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "https://www.vi-hps.org/cms/upload/packages/opari2/"
|
|
"opari2-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "1xaf25lcxk4ky1kzfks40ja9mayh8pnmrzch2107c8dcjrsxsd4h"))))
|
|
(build-system gnu-build-system)
|
|
(inputs (list gfortran))
|
|
(native-inputs (list gawk ; for tests
|
|
which))
|
|
(home-page "https://www.vi-hps.org/projects/score-p")
|
|
(synopsis "OpenMP runtime performance measurement instrumenter")
|
|
(description "OPARI2 is a source-to-source instrumentation tool for OpenMP
|
|
and hybrid codes. It surrounds OpenMP directives and runtime library calls
|
|
with calls to the POMP2 measurement interface.")
|
|
(license license:bsd-3)))
|
|
|
|
(define-public cube
|
|
(package
|
|
(name "cube")
|
|
(version "4.3.5")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append
|
|
"http://apps.fz-juelich.de/scalasca/releases/cube/4.3/dist/cube-"
|
|
version ".tar.gz"))
|
|
(sha256 (base32 "04irflia4rfw02093w9nx7rr98r640y4q8hisjywvd4b7r3nzhhx"))
|
|
(patches (search-patches "cube-nocheck.patch"))))
|
|
(inputs (list dbus zlib))
|
|
(native-inputs (list perl qtbase-5 ; native because of qmake
|
|
which))
|
|
|
|
;; FIXME: The doc is 14MB, but adding a doc output results in a cycle.
|
|
(outputs '("out" ;"doc"
|
|
"lib"))
|
|
|
|
(build-system gnu-build-system)
|
|
(arguments
|
|
`(#:configure-flags
|
|
`("--enable-shared" "--disable-static" "--disable-silent-rules"
|
|
,(string-append "LDFLAGS=-L" (assoc-ref %outputs "lib") "/lib"))
|
|
#:parallel-tests? #f
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'configure 'rpath
|
|
;; Account for moving GUI stuff
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((wl (string-append "-Wl,-rpath=" (assoc-ref outputs "out")
|
|
"/lib")))
|
|
(substitute* "build-backend/Makefile"
|
|
(("^cube_LDFLAGS =") (string-append "cube_LDFLAGS = " wl))
|
|
(("^libheatmap_plugin_la_LDFLAGS =")
|
|
(string-append "libheatmap_plugin_la_LDFLAGS = " wl))
|
|
(("^libbarplot_plugin_la_LDFLAGS =")
|
|
(string-append "libbarplot_plugin_la_LDFLAGS = " wl)))
|
|
#t)))
|
|
(add-before 'install 'includes-cube
|
|
;; It tries to install here before include exists.
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((inc (string-append (assoc-ref outputs "lib") "/include")))
|
|
(mkdir-p (string-append inc "/cube"))
|
|
(mkdir-p (string-append inc "/cubew"))
|
|
#t)))
|
|
(add-after 'install 'licence
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((doc (string-append (assoc-ref outputs "lib")
|
|
"/share/doc/cube")))
|
|
(install-file "COPYING" doc)
|
|
#t)))
|
|
;; XXX: Commented due to cycle (see comment above.)
|
|
;; (add-after 'install 'doc
|
|
;; (lambda _
|
|
;; (let ((share (string-append (assoc-ref %outputs "doc")
|
|
;; "/share")))
|
|
;; (mkdir-p share)
|
|
;; (rename-file (string-append %output "/share/doc")
|
|
;; (string-append share "/doc")))))
|
|
(add-after 'install 'gui-stuff
|
|
;; Get the Qt horror dependencies out of the lib closure
|
|
(lambda _
|
|
(let ((outlib (string-append (assoc-ref %outputs "out") "/lib"))
|
|
(lib (string-append (assoc-ref %outputs "lib") "/lib")))
|
|
(mkdir-p outlib)
|
|
(rename-file (string-append lib "/cube-plugins")
|
|
(string-append outlib "/cube-plugins"))
|
|
(for-each (lambda (file)
|
|
(rename-file
|
|
file (string-append outlib "/" (basename file))))
|
|
(append (find-files lib "libgraphwidgetcommon-plugin\\..*")
|
|
(find-files lib "libcube4gui\\.so.*")))
|
|
#t)))
|
|
(add-after 'install 'move-include
|
|
;; Most of the headers end up under %output for some reason,
|
|
;; despite --includedir in configure.
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((outinc (string-append (assoc-ref outputs "out")
|
|
"/include"))
|
|
(libinc (string-append (assoc-ref outputs "lib")
|
|
"/include")))
|
|
(for-each (lambda (file)
|
|
(let ((from (string-append outinc "/" file)))
|
|
(copy-recursively from libinc)
|
|
(delete-file-recursively from)))
|
|
'("cube" "cubew"))
|
|
#t)))
|
|
|
|
;; XXX: This doesn't work because cube-config, which is needed for
|
|
;; building stuff, sources cube-config-frontend. We don't want that
|
|
;; in the lib output because it pulls in >1GB via QT.
|
|
;;
|
|
;; (add-after 'install 'cube-config
|
|
;; (lambda _
|
|
;; (let* ((lib (assoc-ref %outputs "lib"))
|
|
;; (libbin (string-append lib "/bin")))
|
|
;; (mkdir-p libbin)
|
|
;; (system (string-append "mv " (assoc-ref %outputs "out")
|
|
;; "/bin/cube-config* " libbin))
|
|
;; (substitute* (list (string-append libbin "/cube-config"))
|
|
;; (("^prefix=.*") (string-append "prefix=" lib))
|
|
;; (("^exec_prefix=\"\\$\\{prefix\\}\"")
|
|
;; (string-append "exec_prefix=" lib))))))
|
|
(add-after 'install 'cube-config
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let* ((lib (assoc-ref outputs "lib"))
|
|
(libbin (string-append lib "/bin")))
|
|
(mkdir-p libbin)
|
|
(install-file (string-append %output "/bin/cube-config") libbin)
|
|
(install-file (string-append %output "/bin/cube-config-backend")
|
|
libbin)
|
|
(substitute* (list (string-append libbin "/cube-config"))
|
|
(("^source .*frontend.*$") "")
|
|
(((assoc-ref outputs "out")) lib))
|
|
#t))))))
|
|
(home-page "https://www.scalasca.org/software/cube-4.x/download.html")
|
|
(synopsis "Performance report explorer for parallel programs")
|
|
(description
|
|
"CUBE (CUBE Uniform Behavioral Encoding) is a tool to display a variety
|
|
of performance metrics for parallel programs including MPI and OpenMP
|
|
applications. CUBE allows interactive exploration of a multidimensional
|
|
performance space in a scalable fashion. Scalability is achieved in two ways:
|
|
hierarchical decomposition of individual dimensions and aggregation across
|
|
different dimensions. All performance metrics are uniformly accommodated in
|
|
the same display and thus provide the ability to easily compare the effects of
|
|
different kinds of performance behavior.")
|
|
(license license:bsd-3)))
|
|
|
|
(define (make-scorep mpi)
|
|
(package
|
|
(name (string-append "scorep-" (package-name mpi)))
|
|
(version "3.1")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append
|
|
"http://www.vi-hps.org/upload/packages/scorep/scorep-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0h45357djna4dn9jyxx0n36fhhms3jrf22988m9agz1aw2jfivs9"))
|
|
(modules '((guix build utils)))
|
|
(snippet
|
|
;; Remove bundled software.
|
|
'(begin
|
|
(for-each delete-file-recursively
|
|
'("vendor/opari2" "vendor/cube"))
|
|
#t))))
|
|
(build-system gnu-build-system)
|
|
(inputs
|
|
`(("mpi" ,mpi)
|
|
("papi" ,papi)
|
|
("opari2" ,opari2)
|
|
("libunwind" ,libunwind)
|
|
("otf2" ,otf2)
|
|
("cubelib" ,cube "lib") ;for lib, include
|
|
("openmpi" ,openmpi)
|
|
("zlib" ,zlib)))
|
|
(native-inputs
|
|
(list gfortran
|
|
flex
|
|
cube ;for cube-config
|
|
bison
|
|
python
|
|
doxygen
|
|
which))
|
|
(arguments
|
|
`(#:configure-flags
|
|
(list "--enable-shared" "--disable-static"
|
|
(string-append "--with-opari2="
|
|
(assoc-ref %build-inputs "opari2"))
|
|
(string-append "--with-cube="
|
|
(assoc-ref %build-inputs "cube")))
|
|
#:parallel-tests? #f
|
|
#:make-flags '("V=1")
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'install 'licence
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let ((doc (string-append (assoc-ref outputs "out")
|
|
"/share/doc/scorep")))
|
|
(install-file "COPYING" doc)
|
|
#t))))))
|
|
(home-page "https://www.vi-hps.org/projects/score-p/")
|
|
(synopsis "Performance measurement infrastructure for parallel code")
|
|
(description
|
|
"The Score-P (Scalable Performance Measurement Infrastructure for
|
|
Parallel Codes) measurement infrastructure is a scalable and easy-to-use tool
|
|
suite for profiling, event trace recording, and online analysis of
|
|
high-performance computing (HPC) applications.")
|
|
(license license:cpl1.0)))
|
|
|
|
(define-public scorep-openmpi (make-scorep openmpi))
|