@@ -50,7 +50,7 @@ def main() -> int:
5050 # target glibc 2.28 or newer (supports FORTIFY_SOURCE)
5151 target = "s390x-linux-gnu.2.34"
5252 additional_arguments = [
53- f"--volume={ os .getcwd ()} /bin/zig-0.15.1 :/mnt" ,
53+ f"--volume={ os .getcwd ()} /bin/zig-0.15.2 :/mnt" ,
5454 # f"--env=CC=/mnt/zig cc -target {target}",
5555 # f"--env=CXX=/mnt/zig c++ -target {target}",
5656 # f"--env=CC=/mnt/zig-cc",
@@ -144,12 +144,12 @@ def buildinputs(
144144) -> list [pathlib .Path ]:
145145 if not (ROOT_DIR / "bin/buildinputs" ).exists ():
146146 subprocess .check_call ([MAKE , "bin/buildinputs" ], cwd = ROOT_DIR )
147- if not (ROOT_DIR / "bin/zig-0.15.1 " ).exists ():
148- subprocess .check_call ([MAKE , "bin/zig-0.15.1 " ], cwd = ROOT_DIR )
149- if not (ROOT_DIR / "bin/zig-0.15.1 /zigcc" ).exists ():
147+ if not (ROOT_DIR / "bin/zig-0.15.2 " ).exists ():
148+ subprocess .check_call ([MAKE , "bin/zig-0.15.2 " ], cwd = ROOT_DIR )
149+ if not (ROOT_DIR / "bin/zig-0.15.2 /zigcc" ).exists ():
150150 subprocess .check_call ([MAKE , "build" ], cwd = ROOT_DIR / "scripts/zigcc" )
151- shutil .copy (ROOT_DIR / "scripts/zigcc/bin/zigcc" , ROOT_DIR / "bin/zig-0.15.1 /zig-cc" )
152- shutil .copy (ROOT_DIR / "scripts/zigcc/bin/zigcc" , ROOT_DIR / "bin/zig-0.15.1 /zig-c++" )
151+ shutil .copy (ROOT_DIR / "scripts/zigcc/bin/zigcc" , ROOT_DIR / "bin/zig-0.15.2 /zig-cc" )
152+ shutil .copy (ROOT_DIR / "scripts/zigcc/bin/zigcc" , ROOT_DIR / "bin/zig-0.15.2 /zig-c++" )
153153 stdout = subprocess .check_output ([ROOT_DIR / "bin/buildinputs" , str (dockerfile )],
154154 text = True , cwd = ROOT_DIR ,
155155 env = {"TARGETPLATFORM" : platform , ** os .environ })
0 commit comments