-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUILD: Hide platform configuration probe behind --debug-configure #14518
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
Changes from all commits
9852340
4729f3f
f548774
a68c5b8
55df75a
cdf67fa
2e4af96
492fdab
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 |
---|---|---|
|
@@ -16,8 +16,6 @@ class build(old_build): | |
user_options = old_build.user_options + [ | ||
('fcompiler=', None, | ||
"specify the Fortran compiler type"), | ||
('parallel=', 'j', | ||
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. This change seems unrelated, why does 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. It is redundant - the base 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. Specifically it was added in CPython v3.5.0 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. Ah yes. We may have to add it back once we figure out why it's buggy right now, but let's remove it till someone gets annoyed enough to start looking into that. |
||
"number of parallel jobs"), | ||
] | ||
|
||
help_options = old_build.help_options + [ | ||
|
@@ -28,14 +26,8 @@ class build(old_build): | |
def initialize_options(self): | ||
old_build.initialize_options(self) | ||
self.fcompiler = None | ||
self.parallel = None | ||
|
||
def finalize_options(self): | ||
if self.parallel: | ||
try: | ||
self.parallel = int(self.parallel) | ||
except ValueError: | ||
raise ValueError("--parallel/-j argument must be an integer") | ||
build_scripts = self.build_scripts | ||
old_build.finalize_options(self) | ||
plat_specifier = ".{}-{}.{}".format(get_platform(), *sys.version_info[:2]) | ||
|
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.
what's going on here, did all this become obsolete somehow?
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.
It should have been removed when we merged
umath
andmultiarray
. It causes the config file generation to be run twice, which I noticed when working on this PR.