From 2ed3fdafa3d2f60bd1bcdb2bc5df6c1e58c357f7 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 20 Sep 2020 12:14:19 +0900 Subject: [PATCH] Add test/thirdparty/cpython.sh --- test/thirdparty/cpython.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 test/thirdparty/cpython.sh diff --git a/test/thirdparty/cpython.sh b/test/thirdparty/cpython.sh new file mode 100755 index 0000000..3ff06cb --- /dev/null +++ b/test/thirdparty/cpython.sh @@ -0,0 +1,15 @@ +#!/bin/bash +repo='git@github.com:python/cpython.git' +. test/thirdparty/common +git reset --hard c75330605d4795850ec74fdc4d69aa5d92f76c00 + +# Python's './configure' command misidentifies chibicc as icc +# (Intel C Compiler) because icc is a substring of chibicc. +# Modify the configure file as a workaround. +sed -i -e 1996,2011d configure.ac +autoreconf + +CC=$chibicc ./configure +$make clean +$make +$make test -- GitLab