forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Alpine container #8
Open
Ansuel
wants to merge
9
commits into
master
Choose a base branch
from
alpine-container
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Package external toolchain after correct build. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add option to configure container to use for build and build-tools test. By default the tools and buildbot container is used if no option is provided. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Build and push container with external toolchain embedded in the container image. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Use alpine container as base image for everything. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add support to use container included external toolchain and skip redownloading external sdk for each test. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Backport patch fixing compile on musl libc to improve support for alpine image. Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=29477 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Alone7z fails with error cc -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o _o/CpuArch.o ../../../../C/CpuArch.c cc -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o _o/Delta.o ../../../../C/Delta.c cc -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o _o/LzFind.o ../../../../C/LzFind.c cc -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o _o/Lzma2Dec.o ../../../../C/Lzma2Dec.c cc -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o _o/Lzma2DecMt.o ../../../../C/Lzma2DecMt.c In file included from ../../../../C/MtDec.h:10, from ../../../../C/Lzma2DecMt.c:30: ../../../../C/Threads.h:80:9: error: unknown type name 'cpu_set_t' 80 | typedef cpu_set_t CCpuSet; | ^~~~~~~~~ make[3]: *** [../../7zip_gcc.mak:1118: _o/Lzma2DecMt.o] Error 1 make[3]: Leaving directory '/__w/openwrt/openwrt/openwrt/build_dir/host/7z-22.01/CPP/7zip/Bundles/Alone7z' It seems -D_GNU_SOURCE is needed for cpu_set_t type to correctly work with musl libc. Also we need to use a portable variant of pthread_setaffinity that can work with both glibc and musl libc. Add the 2 required patch to make 7zip correctly compile with musl libc. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add concurrency limits for pull request test so that on pull request refresh old jobs are cancelled. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Ansuel
force-pushed
the
alpine-container
branch
from
January 11, 2023 12:57
5c637e3
to
1275707
Compare
Ansuel
force-pushed
the
master
branch
9 times, most recently
from
May 26, 2024 17:18
bf418c1
to
d86de67
Compare
Ansuel
force-pushed
the
master
branch
7 times, most recently
from
June 13, 2024 16:26
8c6fb7f
to
2fd3c99
Compare
Ansuel
force-pushed
the
master
branch
6 times, most recently
from
June 16, 2024 16:15
118b46f
to
a575158
Compare
Ansuel
force-pushed
the
master
branch
4 times, most recently
from
July 4, 2024 14:06
12b0c50
to
e5cf548
Compare
Ansuel
pushed a commit
that referenced
this pull request
Jul 5, 2024
Ansuel
force-pushed
the
master
branch
2 times, most recently
from
August 1, 2024 12:27
e73fda1
to
b3e7969
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for your contribution to OpenWrt!
To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches
Please remove this message before posting the pull request.