diff options
author | Ross Burton <ross.burton@intel.com> | 2019-11-26 18:25:35 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-26 10:33:56 -0800 |
commit | 56101d3e3bbed0ae25cc809e288e8d25ff2575c5 (patch) | |
tree | 34589f24d6abc4e26bcadc2929550b4cab5fa3f8 | |
parent | 2c54b53159393b20c64894327b39610826ddaaf9 (diff) | |
download | meta-openembedded-56101d3e3bbed0ae25cc809e288e8d25ff2575c5.tar.gz |
glmark2: use Python 3 to build
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch | 12 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch b/meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch new file mode 100644 index 0000000000..df208cf878 --- /dev/null +++ b/meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Use Python 3 instead of Python 2. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
5 | |||
6 | diff --git a/waf b/waf | ||
7 | index 6ce2a24..de3c898 100755 | ||
8 | --- a/waf | ||
9 | +++ b/waf | ||
10 | @@ -1 +1 @@ | ||
11 | -#!/usr/bin/env python | ||
12 | +#!/usr/bin/env python3 | ||
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb index 8b767463bf..50b553c807 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | |||
@@ -14,7 +14,8 @@ PV = "20190904+${SRCPV}" | |||
14 | 14 | ||
15 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}" | 15 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}" |
16 | 16 | ||
17 | SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https" | 17 | SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \ |
18 | file://python3.patch" | ||
18 | SRCREV = "24a1139dcbfd86bd02065316eaa90559e39374e1" | 19 | SRCREV = "24a1139dcbfd86bd02065316eaa90559e39374e1" |
19 | 20 | ||
20 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |