general -> build
This commit is contained in:
+2
-2
@@ -223,12 +223,12 @@ class Builder:
|
|||||||
|
|
||||||
# First check icecream, if not found use ccache, no need to use both
|
# First check icecream, if not found use ccache, no need to use both
|
||||||
# together (according to kde-wiki it cause performance loss)
|
# together (according to kde-wiki it cause performance loss)
|
||||||
if ctx.config.values.general.buildhelper == "icecream":
|
if ctx.config.values.build.buildhelper == "icecream":
|
||||||
if os.path.exists("/opt/icecream/bin/gcc"):
|
if os.path.exists("/opt/icecream/bin/gcc"):
|
||||||
# Add icecream directory for support distributed compiling :)
|
# Add icecream directory for support distributed compiling :)
|
||||||
os.environ["PATH"] = "/opt/icecream/bin/:%s" % os.environ["PATH"]
|
os.environ["PATH"] = "/opt/icecream/bin/:%s" % os.environ["PATH"]
|
||||||
ctx.ui.info(_("IceCream detected. Make sure your daemon is up and running..."))
|
ctx.ui.info(_("IceCream detected. Make sure your daemon is up and running..."))
|
||||||
elif ctx.config.values.general.buildhelper == "ccache":
|
elif ctx.config.values.build.buildhelper == "ccache":
|
||||||
if os.path.exists("/usr/lib/ccache/bin/gcc"):
|
if os.path.exists("/usr/lib/ccache/bin/gcc"):
|
||||||
# Add ccache directory for support Compiler Cache :)
|
# Add ccache directory for support Compiler Cache :)
|
||||||
os.environ["PATH"] = "/usr/lib/ccache/bin/:%s" % os.environ["PATH"]
|
os.environ["PATH"] = "/usr/lib/ccache/bin/:%s" % os.environ["PATH"]
|
||||||
|
|||||||
Reference in New Issue
Block a user