diff options
| -rw-r--r-- | meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch | 13 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 5 |
2 files changed, 15 insertions, 3 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch b/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch new file mode 100644 index 0000000000..fde82381d5 --- /dev/null +++ b/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Index: git/wscript | ||
| 2 | =================================================================== | ||
| 3 | --- git.orig/wscript 2016-07-29 13:15:44.954249796 -0500 | ||
| 4 | +++ git/wscript 2016-07-29 15:52:06.196768865 -0500 | ||
| 5 | @@ -90,7 +90,7 @@ | ||
| 6 | ctx.check_cxx(lib = lib, uselib_store = uselib) | ||
| 7 | |||
| 8 | # Check required functions | ||
| 9 | - req_funcs = [('memset', 'string.h', []) ,('sqrt', 'math.h', ['m'])] | ||
| 10 | + req_funcs = [('memset', 'string.h', [])] | ||
| 11 | for func, header, uselib in req_funcs: | ||
| 12 | ctx.check_cxx(function_name = func, header_name = header, | ||
| 13 | uselib = uselib, mandatory = True) | ||
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb index 9c5ef1810d..18267e96f7 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | |||
| @@ -14,7 +14,8 @@ PV = "2014.03+${SRCPV}" | |||
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \ | 15 | SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \ |
| 16 | file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \ | 16 | file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \ |
| 17 | file://0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch" | 17 | file://0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch \ |
| 18 | file://Fix-configure-for-sqrt-check.patch" | ||
| 18 | SRCREV = "fa71af2dfab711fac87b9504b6fc9862f44bf72a" | 19 | SRCREV = "fa71af2dfab711fac87b9504b6fc9862f44bf72a" |
| 19 | 20 | ||
| 20 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
| @@ -51,5 +52,3 @@ python __anonymous() { | |||
| 51 | d.appendVar("EXTRA_OECONF", " --with-flavors=%s" % ",".join(flavors)) | 52 | d.appendVar("EXTRA_OECONF", " --with-flavors=%s" % ",".join(flavors)) |
| 52 | } | 53 | } |
| 53 | 54 | ||
| 54 | # http://errors.yoctoproject.org/Errors/Details/68626/ | ||
| 55 | PNBLACKLIST[glmark2] ?= "BROKEN: fails to build with gcc-6" | ||
