mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
never use ccache in permuter_settings.toml
This commit is contained in:
parent
78a729a7a3
commit
f81658b0fa
@ -49,8 +49,8 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra
|
|||||||
ccache = ""
|
ccache = ""
|
||||||
|
|
||||||
cross = "mips-linux-gnu-"
|
cross = "mips-linux-gnu-"
|
||||||
cc = f"{ccache}{BUILD_TOOLS}/cc/gcc/gcc"
|
cc = f"{BUILD_TOOLS}/cc/gcc/gcc"
|
||||||
cxx = f"{ccache}{BUILD_TOOLS}/cc/gcc/g++"
|
cxx = f"{BUILD_TOOLS}/cc/gcc/g++"
|
||||||
compile_script = f"$python {BUILD_TOOLS}/cc_dsl/compile_script.py"
|
compile_script = f"$python {BUILD_TOOLS}/cc_dsl/compile_script.py"
|
||||||
|
|
||||||
CPPFLAGS = "-w -Iver/$version/build/include -Iinclude -Isrc -Iassets/$version -D_LANGUAGE_C -D_FINALROM -DVERSION=$version " \
|
CPPFLAGS = "-w -Iver/$version/build/include -Iinclude -Isrc -Iassets/$version -D_LANGUAGE_C -D_FINALROM -DVERSION=$version " \
|
||||||
@ -82,7 +82,7 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra
|
|||||||
|
|
||||||
ninja.rule("cc",
|
ninja.rule("cc",
|
||||||
description="cc $in",
|
description="cc $in",
|
||||||
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} -MD -MF $out.d $in -o - | {iconv} > $out.i && {cc} {cflags} $cflags $out.i -o $out'",
|
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} -MD -MF $out.d $in -o - | {iconv} > $out.i && {ccache}{cc} {cflags} $cflags $out.i -o $out'",
|
||||||
depfile="$out.d",
|
depfile="$out.d",
|
||||||
deps="gcc",
|
deps="gcc",
|
||||||
)
|
)
|
||||||
@ -96,7 +96,7 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra
|
|||||||
|
|
||||||
ninja.rule("cxx",
|
ninja.rule("cxx",
|
||||||
description="cxx $in",
|
description="cxx $in",
|
||||||
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} -MD -MF $out.d $in -o - | {iconv} > $out.i && {cxx} {cflags} $cflags $out.i -o $out'",
|
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} -MD -MF $out.d $in -o - | {iconv} > $out.i && {ccache}{cxx} {cflags} $cflags $out.i -o $out'",
|
||||||
depfile="$out.d",
|
depfile="$out.d",
|
||||||
deps="gcc",
|
deps="gcc",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user