mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Make cosmocc 100x faster on MacOS
This change upgrades to superconfigure z0.0.23 which fixes an issue where the compiler had harmless /home/... paths baked-in, which are normally only present in the build environment, and usually skipped over. Sadly on MacOS calling fstatat() on these paths would lead to cloud file system ops that caused system calls to take a long time. That's problematic, since cosmocc needs to be a 100% local command.
This commit is contained in:
parent
4427581a05
commit
41c06c6325
2 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ statements instead, so that Cosmopolitan Libc's system constants will
|
|||
work as expected. Our modifications to GNU GCC are published under the
|
||||
ISC license at <https://github.com/ahgamut/gcc/tree/portcosmo-11.2>. The
|
||||
binaries you see here were first published at
|
||||
<https://github.com/ahgamut/superconfigure/releases/tag/z0.0.23> which
|
||||
<https://github.com/ahgamut/superconfigure/releases/tag/z0.0.24> which
|
||||
is regularly updated.
|
||||
|
||||
## Legal
|
||||
|
|
|
@ -71,10 +71,10 @@ done
|
|||
OLD=$PWD
|
||||
cd "$OUTDIR/"
|
||||
if [ ! -x bin/x86_64-linux-cosmo-gcc ]; then
|
||||
wget https://github.com/ahgamut/superconfigure/releases/download/z0.0.23/aarch64-gcc.zip
|
||||
wget https://github.com/ahgamut/superconfigure/releases/download/z0.0.24/aarch64-gcc.zip
|
||||
unzip aarch64-gcc.zip
|
||||
rm -f aarch64-gcc.zip
|
||||
wget https://github.com/ahgamut/superconfigure/releases/download/z0.0.23/x86_64-gcc.zip
|
||||
wget https://github.com/ahgamut/superconfigure/releases/download/z0.0.24/x86_64-gcc.zip
|
||||
unzip x86_64-gcc.zip
|
||||
rm -f x86_64-gcc.zip
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue