Skip to content

linux x86_64 builds contain references to clang -- aarch64 does not #209

@asottile-sentry

Description

@asottile-sentry

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 
$ 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with CPython and the broader ecosystemplatform:linuxSpecific to the Linux platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions