-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add FedoraBuild for Fedora and RHEL #264
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -255,8 +255,8 @@ class AIXBuild(UnixBuild): | |
"--with-pydebug", | ||
"--with-openssl=/opt/aixtools", | ||
] | ||
|
||
|
||
class AIXBuildWithXLC(UnixBuild): | ||
buildersuffix = ".xlc" | ||
configureFlags = [ | ||
|
@@ -278,7 +278,7 @@ class PGOUnixBuild(NonDebugUnixBuild): | |
buildersuffix = ".pgo" | ||
configureFlags = ["--enable-optimizations"] | ||
factory_tags = ["pgo"] | ||
|
||
def setup(self, parallel, branch, *args, **kwargs): | ||
# Only Python >3.10 has --with-readline=edit | ||
if branch not in {'3.7', '3.8', '3.9'}: | ||
|
@@ -363,6 +363,34 @@ class NoBuiltinHashesUnixBuildExceptBlake2(UnixBuild): | |
factory_tags = ["no-builtin-hashes-except-blake2"] | ||
|
||
|
||
class FedoraBuild(UnixBuild): | ||
# Build on Fedora or RHEL. | ||
# | ||
# Try to be as close as possible to the Fedora specfile used to build | ||
# the RPM package: | ||
# https://src.fedoraproject.org/rpms/python3.10/blob/rawhide/f/python3.10.spec | ||
configureFlags = [ | ||
"--with-pydebug", | ||
"--with-platlibdir=lib64", | ||
"--enable-ipv6", | ||
"--enable-shared", | ||
"--with-computed-gotos=yes", | ||
"--with-dbmliborder=gdbm:ndbm:bdb", | ||
"--with-system-expat", | ||
"--with-system-ffi", | ||
"--with-system-libmpdec", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding options like this means we need to pull in the devel packages. Also, IIRC we can only use system mpdec in 3.10+ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The devel packages are already in the buildbots |
||
"--enable-loadable-sqlite-extensions", | ||
"--with-dtrace", | ||
"--with-lto", | ||
"--with-ssl-default-suites=openssl", | ||
"--without-static-libpython", | ||
"--with-valgrind", | ||
# Don't make a buildbot fail when pip/setuptools is updated in Python, | ||
# whereas the buildbot uses older versions. | ||
# "--with-wheel-pkg-dir=/usr/share/python-wheels/", | ||
] | ||
|
||
|
||
############################################################################## | ||
############################ WINDOWS BUILDS ################################ | ||
############################################################################## | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only makes sense on 64bit arches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the Fedora and RHEL buildbots are 64 bits.