opencl-icd rebuild
This commit is contained in:
@@ -14,7 +14,7 @@ def setup():
|
|||||||
pisitools.insinto("/usr/include/CL", "OpenCL-Headers-2020.12.18/CL/*")
|
pisitools.insinto("/usr/include/CL", "OpenCL-Headers-2020.12.18/CL/*")
|
||||||
shelltools.export("CFLAGS", "-I%s/usr/include -O2")
|
shelltools.export("CFLAGS", "-I%s/usr/include -O2")
|
||||||
shelltools.export("CXXFLAGS", "-I%s/usr/include -O2")
|
shelltools.export("CXXFLAGS", "-I%s/usr/include -O2")
|
||||||
|
pisitools.cflags.add("-fcommon")
|
||||||
autotools.autoreconf("-vfi")
|
autotools.autoreconf("-vfi")
|
||||||
|
|
||||||
autotools.configure()
|
autotools.configure()
|
||||||
@@ -22,6 +22,9 @@ def setup():
|
|||||||
def build():
|
def build():
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
|
def check():
|
||||||
|
autotools.make("check")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user