aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-extras/recipes-benchmark/stream/stream_5.10.bb
blob: 7661722483cb639dce95f1f5a439c44058a0817a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "Stream Benchmark"
HOMEPAGE = "http://www.cs.virginia.edu/stream/"
LICENSE = "Stream_Benchmark_License"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bca8cbe07976fe64c8946378d08314b0"
SECTION = "system"

PR = "r0"

BRANCH ?= "master"
SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306"

SRC_URI = "git://git.ti.com/sitara-linux/stream.git;branch=${BRANCH}"

S = "${WORKDIR}/git"

PACKAGES =+ "${PN}-openmp"

do_compile() {
	# build the release version
	oe_runmake
}

do_install() {
	install -d ${D}/${bindir}
	install -m 0755 ${S}/stream_c ${D}/${bindir}/
	install -m 0755 ${S}/stream_c_openmp ${D}/${bindir}/
}

FILES_${PN}-openmp = "${bindir}/stream_c_openmp"