Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MAINT: update oldest supported GCC version from 8.4 to 9.3 #28102

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

Merged
merged 1 commit into from
Jan 6, 2025
Merged
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
20 changes: 10 additions & 10 deletions 20 .github/workflows/linux_simd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,27 @@ jobs:
with:
python-version: '3.11'

- name: Install GCC/8/9
- name: Install GCC9/10
run: |
echo "deb http://archive.ubuntu.com/ubuntu focal main universe" | sudo tee /etc/apt/sources.list.d/focal.list
sudo apt update
sudo apt install -y g++-8 g++-9
sudo apt install -y g++-9 g++-10

- name: Enable gcc-8
- name: Enable gcc-9
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 1
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 1
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 1
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 1

- uses: ./.github/meson_actions
name: Build/Test against gcc-8
name: Build/Test against gcc-9

- name: Enable gcc-9
- name: Enable gcc-10
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 2
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 2
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 2
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 2

- uses: ./.github/meson_actions
name: Build/Test against gcc-9
name: Build/Test against gcc-10

specialize:
needs: [baseline_only]
Expand Down
6 changes: 6 additions & 0 deletions 6 doc/release/upcoming_changes/28101.change.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The minimum supported GCC version is now 9.3.0
----------------------------------------------
The minimum supported version was updated from 8.4.0 to 9.3.0,
primarily in order to reduce the chance of platform-specific bugs in old GCC
versions from causing issues.

4 changes: 2 additions & 2 deletions 4 meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ cy = meson.get_compiler('cython')

# Check compiler is recent enough (see the SciPy Toolchain Roadmap for details)
if cc.get_id() == 'gcc'
if not cc.version().version_compare('>=8.4')
error('NumPy requires GCC >= 8.4')
if not cc.version().version_compare('>=9.3')
error('NumPy requires GCC >= 9.3')
endif
elif cc.get_id() == 'msvc'
if not cc.version().version_compare('>=19.20')
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.