diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-05-14 10:05:20 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:44 -0700 |
| commit | c33cfad1b0e1f84f6605689457e16fb0518ee383 (patch) | |
| tree | 9a280a37e62ddbfda807dea68419ab457bbe657a /meta-oe/recipes-benchmark | |
| parent | ffc64e9c6fee0af7eea3466135416d011172a5e6 (diff) | |
| download | meta-openembedded-c33cfad1b0e1f84f6605689457e16fb0518ee383.tar.gz | |
recipes: Switch away from S = WORKDIR
Make it dependent on UNPACKDIR instead
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
| -rw-r--r-- | meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 3 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb index b49951cc27..a0327ee154 100644 --- a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb +++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | |||
| @@ -10,7 +10,8 @@ SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpack | |||
| 10 | SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4" | 10 | SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4" |
| 11 | SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e" | 11 | SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}" | 13 | S = "${WORKDIR}/sources" |
| 14 | UNPACKDIR = "${S}" | ||
| 14 | 15 | ||
| 15 | do_compile () { | 16 | do_compile () { |
| 16 | ${CC} ${CFLAGS} ${LDFLAGS} -DDP -o linpack_dp linpacknew.c -lm | 17 | ${CC} ${CFLAGS} ${LDFLAGS} -DDP -o linpack_dp linpacknew.c -lm |
diff --git a/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb b/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb index 8fad04e365..ce28fc732c 100644 --- a/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb +++ b/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb | |||
| @@ -2,13 +2,14 @@ DESCRIPTION = "Whetstone benchmark is a synthetic benchmark for evaluating the p | |||
| 2 | SUMMARY = "CPU benchmark to measure floating point performance" | 2 | SUMMARY = "CPU benchmark to measure floating point performance" |
| 3 | 3 | ||
| 4 | LICENSE = "PD" | 4 | LICENSE = "PD" |
| 5 | LIC_FILES_CHKSUM ="file://${WORKDIR}/whetstone.c;beginline=1;endline=52;md5=c795edc15e7e1d92ca8f88ad718449f5" | 5 | LIC_FILES_CHKSUM ="file://${UNPACKDIR}/whetstone.c;beginline=1;endline=52;md5=c795edc15e7e1d92ca8f88ad718449f5" |
| 6 | 6 | ||
| 7 | SRC_URI = "http://www.netlib.org/benchmark/whetstone.c" | 7 | SRC_URI = "http://www.netlib.org/benchmark/whetstone.c" |
| 8 | SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb" | 8 | SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb" |
| 9 | SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf" | 9 | SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}" | 11 | S = "${WORKDIR}/sources" |
| 12 | UNPACKDIR = "${S}" | ||
| 12 | 13 | ||
| 13 | do_compile () { | 14 | do_compile () { |
| 14 | ${CC} ${CFLAGS} ${LDFLAGS} -Ofast -o whetstone whetstone.c -lm | 15 | ${CC} ${CFLAGS} ${LDFLAGS} -Ofast -o whetstone whetstone.c -lm |
