Skip to content

Instantly share code, notes, and snippets.

@WeZZard
Last active January 30, 2023 20:14
Show Gist options
  • Save WeZZard/70f6a42e06fa22770f38f3c40c9e115c to your computer and use it in GitHub Desktop.
Save WeZZard/70f6a42e06fa22770f38f3c40c9e115c to your computer and use it in GitHub Desktop.
Develop Python 3.x on macOS 13
#!/bin/sh
./configure --with-openssl="/opt/homebrew/opt/openssl@1.1"
pushd ../
mkdir cpython-compile-commands -p
popd
bear --output ../cpython-compile-commands/compile_commands.json -- make
compdb -p ../cpython-compile-commands list > ./compile_commands.json
mv compile_commands.json ../cpython-compile-commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment