Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DebianPackagingScripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChimeraTK Mirror
DebianPackagingScripts
Commits
21de5711
Commit
21de5711
authored
2 days ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
fixup! feat: script for building gcc-13.3 on bookworm (needs testing)
parent
e6edb637
Branches
mhier/gcc-bookworm
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gcc-13-on-bookworm/build-gcc-13.1-bookworm.sh
+50
-0
50 additions, 0 deletions
gcc-13-on-bookworm/build-gcc-13.1-bookworm.sh
with
50 additions
and
0 deletions
gcc-13-on-bookworm/build-gcc-13.1-bookworm.sh
0 → 100644
+
50
−
0
View file @
21de5711
#!/bin/bash -e
echo
"NOT YET TESTED!!!!!!!!!!!!!!!!!!!"
echo
"Building in
$(
pwd
)
. Press Ctrl+C to abort within 5 seconds..."
sleep
5
if
[
-f
"/var/cache/pbuilder/result/*"
]
;
then
echo
"/var/cache/pbuilder/result/ is not empty"
exit
1
fi
if
[
!
-f
"~/software/debian-packages/pbuilder-base/base-bookworm.tgz"
]
;
then
echo
"~/software/debian-packages/pbuilder-base/base-bookworm.tgz does not exist"
exit
1
fi
git clone https://salsa.debian.org/toolchain-team/gcc.git gcc-13_13.1.0
cd
gcc-13_13.1.0
wget https://ftp.mpi-inf.mpg.de/mirrors/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-13.1.0/gcc-13.1.0.tar.xz
wget ftp://sourceware.org/pub/newlib/newlib-4.3.0.20230120.tar.gz
cd
..
tar
zcf gcc-13_13.1.0.orig.tar.gz gcc-13_13.1.0/gcc-13.1.0.tar.xz gcc-13_13.1.0/newlib-4.3.0.20230120.tar.gz
echo
Content of
tar
ball:
tar
tf gcc-13_13.1.0.orig.tar.gz
sleep
2
echo
Patching to disable tests...
cd
gcc-13_13.1.0
patch
-p1
<<
EOF
diff --git i/debian/rules.defs w/debian/rules.defs
index fdf383c2..2921ef18 100644
--- i/debian/rules.defs
+++ w/debian/rules.defs
@@ -1671,7 +1671,7 @@ endif
# run testsuite ---------------
with_check := yes
# if you don't want to run the gcc testsuite, uncomment the next line
-#with_check := disabled by hand
+with_check := disabled by hand
ifeq (
$(
with_base_only
)
,yes)
with_check := no
endif
EOF
pdebuild
--
--distribution
bookworm
--basetgz
~/software/debian-packages/pbuilder-base/base-bookworm.tgz
rsync
-av
/var/cache/pbuilder/result/ result/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment