mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
whetstone: new benchmark package
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
ea7ab91c66
commit
beb56ca618
2
CHANGES
2
CHANGES
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Updated/fixed packages: cloop, m4, openssh, qt, xz
|
Updated/fixed packages: cloop, m4, openssh, qt, xz
|
||||||
|
|
||||||
New packages: lsuio, rsh-redone
|
New packages: lsuio, rsh-redone, whetstone
|
||||||
|
|
||||||
Issues resolved (http://bugs.uclibc.org):
|
Issues resolved (http://bugs.uclibc.org):
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ source "package/memstat/Config.in"
|
|||||||
source "package/netperf/Config.in"
|
source "package/netperf/Config.in"
|
||||||
source "package/oprofile/Config.in"
|
source "package/oprofile/Config.in"
|
||||||
source "package/strace/Config.in"
|
source "package/strace/Config.in"
|
||||||
|
source "package/whetstone/Config.in"
|
||||||
source "package/valgrind/Config.in"
|
source "package/valgrind/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
6
package/whetstone/Config.in
Normal file
6
package/whetstone/Config.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_WHETSTONE
|
||||||
|
bool "whetstone"
|
||||||
|
help
|
||||||
|
C Converted Whetstone Double Precision Benchmark
|
||||||
|
|
||||||
|
http://www.netlib.org/benchmark/
|
33
package/whetstone/whetstone.mk
Normal file
33
package/whetstone/whetstone.mk
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# whetstone
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
WHETSTONE_VERSION = 1.2
|
||||||
|
WHETSTONE_SOURCE = whetstone.c
|
||||||
|
WHETSTONE_SITE = http://www.netlib.org/benchmark/
|
||||||
|
|
||||||
|
define WHETSTONE_BUILD_CMDS
|
||||||
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) LDLIBS="-lm" -C $(@D) whetstone
|
||||||
|
endef
|
||||||
|
|
||||||
|
define WHETSTONE_CLEAN_CMDS
|
||||||
|
rm -f $(@D)/whetstone
|
||||||
|
endef
|
||||||
|
|
||||||
|
define WHETSTONE_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
|
||||||
|
endef
|
||||||
|
|
||||||
|
define WHETSTONE_UNINSTALL_TARGET_CMDS
|
||||||
|
rm -f $(TARGET_DIR)/usr/bin/whetstone
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,whetstone))
|
||||||
|
|
||||||
|
$(BUILD_DIR)/whetstone-$(WHETSTONE_VERSION)/.stamp_extracted:
|
||||||
|
@$(call MESSAGE,"Extracting")
|
||||||
|
$(Q)mkdir -p $(@D)
|
||||||
|
$(Q)cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/
|
||||||
|
$(Q)touch $@
|
Loading…
x
Reference in New Issue
Block a user