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

gcc: remove some unneeded include-fixed headers #41033

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
7 changes: 6 additions & 1 deletion gcc-11.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: gcc-11
version: 11.5.0
epoch: 2
epoch: 3
description: "the GNU compiler collection - version 11"
copyright:
- license: GPL-3.0-or-later WITH GCC-exception-3.1
Expand Down Expand Up @@ -134,6 +134,11 @@ pipeline:
- runs: |
rm ${{targets.destdir}}/usr/bin/${{host.triplet.gnu}}-gcc-tmp

# These are outdated and only cause issues with newer glibc.
- name: Remove some unneeded include-fixed
runs: |
rm -f ${{targets.destdir}}/usr/lib/gcc/${{host.triplet.gnu}}/${{vars.major-version}}/include-fixed/pthread.h

- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
Expand Down
7 changes: 6 additions & 1 deletion gcc-12.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: gcc-12
version: 12.4.0
epoch: 8
epoch: 9
description: "the GNU compiler collection - version 12"
copyright:
- license: GPL-3.0-or-later WITH GCC-exception-3.1
Expand Down Expand Up @@ -134,6 +134,11 @@ pipeline:
- runs: |
rm ${{targets.destdir}}/usr/bin/${{host.triplet.gnu}}-gcc-tmp

# These are outdated and only cause issues with newer glibc.
- name: Remove some unneeded include-fixed
runs: |
rm -f ${{targets.destdir}}/usr/lib/gcc/${{host.triplet.gnu}}/${{vars.major-version}}/include-fixed/pthread.h

- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
Expand Down
7 changes: 6 additions & 1 deletion gcc-13.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: gcc-13
version: 13.3.0
epoch: 7
epoch: 8
description: "the GNU compiler collection - version 13"
copyright:
- license: GPL-3.0-or-later WITH GCC-exception-3.1
Expand Down Expand Up @@ -128,6 +128,11 @@ pipeline:
- runs: |
rm ${{targets.destdir}}/usr/bin/${{host.triplet.gnu}}-gcc-tmp

# These are outdated and only cause issues with newer glibc.
- name: Remove some unneeded include-fixed
runs: |
rm -f ${{targets.destdir}}/usr/lib/gcc/${{host.triplet.gnu}}/${{vars.major-version}}/include-fixed/pthread.h

- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
Expand Down
13 changes: 12 additions & 1 deletion gcc-6.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: gcc-6
version: 6.5.0
epoch: 4
epoch: 5
description: "the GNU compiler collection"
copyright:
- license: GPL-3.0-or-later
Expand Down Expand Up @@ -35,6 +35,12 @@ environment:
- zip
- zlib-dev

var-transforms:
- from: ${{package.version}}
match: ^(\d+).*
replace: $1
to: major-version

pipeline:
- uses: fetch
with:
Expand Down Expand Up @@ -139,6 +145,11 @@ pipeline:
rm -f "${{targets.destdir}}"/usr/lib/libffi* "${{targets.destdir}}"/usr/share/man/man3/ffi*
find "${{targets.destdir}}" -name 'ffi*.h' | xargs rm -f

# These are outdated and only cause issues with newer glibc.
- name: Remove some unneeded include-fixed
runs: |
rm -f ${{targets.destdir}}/usr/lib/gcc/${{host.triplet.gnu}}/${{vars.major-version}}/include-fixed/pthread.h

- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
Expand Down
7 changes: 6 additions & 1 deletion gcc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: gcc
version: 14.2.0
epoch: 8
epoch: 9
description: "the GNU compiler collection"
copyright:
- license: GPL-3.0-or-later WITH GCC-exception-3.1
Expand Down Expand Up @@ -131,6 +131,11 @@ pipeline:
- runs: |
chmod 755 ${{targets.destdir}}/usr/lib/libgcc_s.*

# These are outdated and only cause issues with newer glibc.
- name: Remove some unneeded include-fixed
runs: |
rm -f ${{targets.destdir}}/usr/lib/gcc/${{host.triplet.gnu}}/${{vars.major-version}}/include-fixed/pthread.h

- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
Expand Down
Loading