astral-sh / astral-sh/python-build-standalone

linux x86_64 builds contain references to `clang` -- aarch64 does not

Open
#209 3 comments 0 reactions 0 assignees View on GitHub
compatibility platform:linux
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

compare:

```
wget https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.12.1+20240107-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
wget https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.12.1+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
mkdir x64 arm64
tar -C x64 -xf cpython-3.12.1+20240107-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
tar -C arm64 -xf cpython-3.12.1+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
```

```console
$ grep clang arm64/python/install/lib/python3.12/_sysconfigdata_*
$ grep clang x64/python/install/lib/python3.12/_sysconfigdata_*
'BLDSHARED': 'clang -pthread -shared -Wl,--exclude-libs,ALL '
'CC': 'clang -pthread',
"'host_alias=x86_64-unknown-linux-gnu' 'CC=clang' 'CFLAGS= "
'CXX': 'clang++ -pthread',
'LDCXXSHARED': 'clang++ -pthread -shared',
'LDSHARED': 'clang -pthread -shared -Wl,--exclude-libs,ALL '
'-fprofile-instr-use=code.profclangd -I./Include/internal '
'-fprofile-instr-use=code.profclangd -I./Include/internal '
'-fprofile-instr-use=code.profclangd -I./Include/internal '
'LINKCC': 'clang -pthread -fno-pie -no-pie',
'LLVM_PROF_FILE': 'LLVM_PROFILE_FILE="code-%p.profclangr"',
'-output=code.profclangd *.profclangr',
'PGO_PROF_USE_FLAG': '-fprofile-instr-use=code.profclangd',
'-fprofile-instr-use=code.profclangd '
'-fvisibility=hidden -fprofile-instr-use=code.profclangd '
'-fprofile-instr-use=code.profclangd -I./Include/internal '
'-fprofile-instr-use=code.profclangd
```

seems the fixes for #194 didn't really stick here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.