8000 BUG: Fixes for building on Cygwin. by charris · Pull Request #18102 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: Fixes for building on Cygwin. #18102

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

Closed
wants to merge 31 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1926a6b
BLD: Move the configuration defines in Python.h earlier.
DWesl May 14, 2020
7c320f3
DEV: Try to rebase f2py-created modules for fewer fork() failures in …
DWesl May 14, 2020
9cbd7de
TST: Mark the tests that seem to fail due to different floating-point…
DWesl May 14, 2020
60d1964
TST: Try to mark the tests still suseptible to fork() failures on cyg…
DWesl May 14, 2020
6d8f36e
DEV: Revert executable renames for F77/G77 compiler.
DWesl May 18, 2020
c8d1059
BLD: Add functions that fail tests on Cygwin to npy_config.h.
DWesl May 18, 2020
c356079
TST: Describe what I know about the FPE test failure.
DWesl May 18, 2020
faca5fb
STY: A few largely cosmetic changes.
DWesl May 18, 2020
02593e2
DEV: Stop trying to rebase f2py modules.
DWesl May 18, 2020
db30000
Remove xfails from tests that now pass.
DWesl May 19, 2020
66dc53a
Use parametrize for the dtypes in the abs tests.
DWesl May 19, 2020
0d4b4de
Remove xfail mark from an assert function.
DWesl May 20, 2020
0f11301
Remove references to np.complex256
DWesl May 25, 2020
bc209f1
Remove reference to np.complex256 in the other test
DWesl May 25, 2020
c93cb73
Don't add `gfortran` to the list of GNU77 compilers
DWesl May 29, 2020
343127d
Include only 'gfortran' in gnu fcompiler, not absolute version
DWesl Jun 6, 2020
f9bea44
TST: Use usual names for the dtypes in xfail mark
DWesl Jul 9, 2020
f655535
BLD: Remind GCC that .seh_savexmm fails for xmm16-31.
DWesl Jun 17, 2020
d22b665
BLD: Fix code checking for old GCC on cygwin.
DWesl Jun 19, 2020
8e2352b
TST: Only mark fork()-using tests xfail on 32-bit cygwin.
DWesl Jun 19, 2020
c519dd0
BLD: Fix flags added to compiler line for old GCC on MS.
DWesl Jun 19, 2020
33e863b
TST: parametrize test_npymath_complex.
DWesl Jul 9, 2020
853f82a
TST: Clarify the xfail messages for branch cuts.
DWesl Aug 29, 2020
c32f1ce
BLD: Remove probably-unnecessary include.
DWesl Aug 29, 2020
31c1fe1
TST: Try to keep testing code from changing tempfile name.
DWesl Aug 23, 2020
3666fce
BLD: Mark modfl as problematic on cygwin.
DWesl Aug 29, 2020
78e8c95
Undef HAVE_MODFL only on 64-bit cygwin
DWesl Sep 1, 2020
af0de3d
Revert "BLD: Fix flags added to compiler line for old GCC on MS."
DWesl Oct 27, 2020
8fc9a9f
Revert "BLD: Fix code checking for old GCC on cygwin."
DWesl Oct 27, 2020
7c43e16
Revert "BLD: Remind GCC that .seh_savexmm fails for xmm16-31."
DWesl Oct 27, 2020
0c93f5f
MAINT: Fixup setpy.py merge
charris Dec 31, 2020
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
Prev Previous commit
Next Next commit
DEV: Stop trying to rebase f2py modules.
This was actually making the situation worse, I think because I forgot
to include the NumPy dlls themselves.  Removing this made for many
fewer fork() failures when I tried it.

`python3 -m pip show numpy --files | grep dll`
will give a list of dlls, with at least a relative path.  This can be
done in python with subprocess (will require adding pip as a runtime
dependency), but I'm not sure that's in scope here.
  • Loading branch information
DWesl authored and charris committed Dec 31, 2020
commit 02593e2834fb38aab8eb62c1310734dbbd1e9c6c
11 changes: 0 additions & 11 deletions numpy/distutils/fcompiler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@
class CompilerNotFound(Exception):
pass

if sys.platform == 'cygwin':
COMPILED_MODULES = []

def flaglist(s):
if is_string(s):
return split_quoted(s)
Expand Down Expand Up @@ -682,14 +679,6 @@ def link(self, target_desc, objects,
except DistutilsExecError as e:
msg = str(e)
raise LinkError(msg)
if sys.platform == 'cygwin':
# Rebase newly-compiled module so it has a higher
# chance of surviving fork()
COMPILED_MODULES.append(output_filename)
rebase_args = ['/usr/bin/rebase', '--database',
'--oblivious']
rebase_args.extend(COMPILED_MODULES)
self.spawn(rebase_args)
else:
log.debug("skipping %s (up-to-date)", output_filename)

Expand Down
0