mirror of
https://github.com/rui314/chibicc
synced 2025-02-19 23:23:57 +03:00
Add test/thirdparty/cpython.sh
This commit is contained in:
parent
0a5d08c8f8
commit
2ed3fdafa3
15
test/thirdparty/cpython.sh
vendored
Executable file
15
test/thirdparty/cpython.sh
vendored
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user