Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB python 3.12 variants #78

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: 🛠️ build on ${{ matrix.platform }}

strategy:
fail-fast: true
fail-fast: false
matrix:
platform: [ubuntu-20.04, macos-12, macos-13-xlarge] # windows-2022] windows is a bit sad :'(
runs-on: ${{ matrix.platform }}
Expand Down Expand Up @@ -63,6 +63,16 @@ jobs:
run: |
git config --global protocol.file.allow always

# Untested, but might improve reliability of the build
# # Explicitly override the xcode version for macos-11
# - uses: maxim-lobanov/setup-xcode@v1
# # only if matrix.platform == macos-11
# if: matrix.platform == 'macos-11'
# with:
# # list from here:
# # https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#installed-sdks
# xcode-version: "11.7"

- name: Build package
run: |
# mac-only, we need to inject the macos sdk so conda can link against it
Expand Down
5 changes: 4 additions & 1 deletion gdb-multi-arch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export CFLAGS="$CFLAGS -Wno-constant-logical-operand -Wno-format-nonliteral -Wno

if [ `uname` == Darwin ]; then
EXTRA_CONFIGURE_FLAGS=""
# add '-fno-define-target-os-macros' to CFLAGS, very sad problem in older zlib
# https://gitlab.kitware.com/cmake/cmake/-/issues/25755
export CFLAGS="$CFLAGS -fno-define-target-os-macros"
else
EXTRA_CONFIGURE_FLAGS="--with-debuginfod"
fi
Expand Down Expand Up @@ -41,7 +44,7 @@ fi
--disable-sim \
--disable-gold \
--enable-64-bit-bfd
make
make -j${CPU_COUNT}
make install

# Move from the fake to real directory
Expand Down
Loading
Loading