Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 1 | SUMMARY = "Monitoring tools exploiting the performance monitoring events" |
| 2 | DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \ |
| 3 | monitoring tools exploiting the performance monitoring events such as those \ |
| 4 | provided by the Performance Monitoring Unit (PMU) of modern processors." |
| 5 | HOMEPAGE = "http://perfmon2.sourceforge.net/" |
| 6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar" |
| 7 | |
| 8 | LICENSE = "MIT" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788" |
| 10 | |
| 11 | SECTION = "devel" |
| 12 | |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 13 | COMPATIBLE_HOST = "powerpc64|aarch64" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 14 | |
| 15 | SRC_URI = "${SOURCEFORGE_MIRROR}/perfmon2/${BPN}/libpfm-${PV}.tar.gz \ |
| 16 | file://0001-Include-poll.h-instead-of-sys-poll.h.patch \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 17 | file://0002-perf_examples-Remove-unused-sum-variable.patch \ |
| 18 | " |
| 19 | SRC_URI[sha256sum] = "5da5f8872bde14b3634c9688d980f68bda28b510268723cc12973eedbab9fecc" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 20 | |
| 21 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/" |
| 22 | |
| 23 | EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" |
| 24 | EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" |
| 25 | EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 27 | EXTRA_OEMAKE_append_aarch64 = " ARCH=\"arm64\"" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 28 | |
| 29 | S = "${WORKDIR}/libpfm-${PV}" |
| 30 | |
| 31 | do_install () { |
| 32 | oe_runmake install |
| 33 | } |