likwid-4.1.1-config.mk.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --- likwid-likwid-4.1.1/config.mk.org 2016-07-14 12:49:27.791771509 +0800
  2. +++ likwid-likwid-4.1.1/config.mk 2016-07-14 12:51:27.470358158 +0800
  3. @@ -15,9 +15,9 @@
  4. # Common users do not need to change values below this comment! #
  5. #################################################################
  6. -MANPREFIX = $(PREFIX)/man#NO SPACE
  7. +MANPREFIX = ${D}/usr/share/man#NO SPACE
  8. BINPREFIX = $(PREFIX)/bin#NO SPACE
  9. -LIBPREFIX = $(PREFIX)/lib#NO SPACE
  10. +LIBPREFIX = $(PREFIX)/$(get_libdir)#NO SPACE
  11. # These paths are hardcoded into executables and libraries. Usually
  12. # they'll be the same as above, but package maintainers may want to
  13. @@ -26,9 +26,9 @@
  14. # Keep in mind that the access and setFreq daemon need enough
  15. # privileges that may be deleted when copying the files to
  16. # the INTSTALLED_PREFIX
  17. -INSTALLED_PREFIX = $(PREFIX)#NO SPACE
  18. +INSTALLED_PREFIX=/usr#NO SPACE
  19. INSTALLED_BINPREFIX = $(INSTALLED_PREFIX)/bin#NO SPACE
  20. -INSTALLED_LIBPREFIX = $(INSTALLED_PREFIX)/lib#NO SPACE
  21. +INSTALLED_LIBPREFIX = $(INSTALLED_PREFIX)/$(get_libdir)#NO SPACE
  22. # chown installed tools to this user/group
  23. # if you change anything here, make sure that the user/group can access
  24. @@ -59,7 +59,7 @@
  25. FORTRAN_INTERFACE = false#NO SPACE
  26. # Instrument likwid-bench for use with likwid-perfctr
  27. -INSTRUMENT_BENCH = false#NO SPACE
  28. +INSTRUMENT_BENCH = true#NO SPACE
  29. # Use recommended Portable Hardware Locality (hwloc) instead of CPUID
  30. USE_HWLOC = true#NO SPACE
  31. @@ -80,6 +80,6 @@
  32. DATE = 19.05.2016
  33. RPATHS = -Wl,-rpath=$(INSTALLED_LIBPREFIX)
  34. -LIBLIKWIDPIN = $(abspath $(INSTALLED_PREFIX)/lib/liblikwidpin.so.$(VERSION).$(RELEASE))
  35. +LIBLIKWIDPIN = $(abspath $(PREFIX)/$(get_libdir)/liblikwidpin.so)
  36. LIKWIDFILTERPATH = $(abspath $(INSTALLED_PREFIX)/share/likwid/filter)
  37. LIKWIDGROUPPATH = $(abspath $(INSTALLED_PREFIX)/share/likwid/perfgroups)