add config for github compile

This commit is contained in:
shenjack 2023-06-09 17:04:17 +08:00
parent 9ca58e6397
commit 9cc98d3500

View File

@ -22,6 +22,10 @@ if __name__ == '__main__':
sys.argv.remove('--output') sys.argv.remove('--output')
sys.argv.remove(compiler.output_path) sys.argv.remove(compiler.output_path)
# 检测 --github 参数
if '--github' in sys.argv:
compiler.use_ccache = False
print(compiler.output_path) print(compiler.output_path)
print(compiler) print(compiler)