diff options
| author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-06-12 14:35:00 -0700 |
|---|---|---|
| committer | Hood Chatham <roberthoodchatham@gmail.com> | 2022-06-12 14:35:00 -0700 |
| commit | ffcaa3f783af53d706ffe001add323c938dfd78e (patch) | |
| tree | 39281188d531000ee5c4e4b5942256dbc42b7f31 /numpy/linalg | |
| parent | 7a85f1f6f2166b69b4199c21b91d9634a703b452 (diff) | |
| download | numpy-ffcaa3f783af53d706ffe001add323c938dfd78e.tar.gz | |
Update comment according to seberg's review
Diffstat (limited to 'numpy/linalg')
| -rw-r--r-- | numpy/linalg/setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/linalg/setup.py b/numpy/linalg/setup.py index 66c5fc5b8..1c4e1295e 100644 --- a/numpy/linalg/setup.py +++ b/numpy/linalg/setup.py @@ -42,7 +42,9 @@ def configuration(parent_package='', top_path=None): size_t_size = sysconfig.get_config_var("SIZEOF_SIZE_T") if size_t_size: maxsize = 2**(size_t_size - 1) - 1 - else: # handle windows + else: + # We prefer using sysconfig as it allows cross-compilation + # but the information may be missing (e.g. on windows). maxsize = sys.maxsize if maxsize > 2**32: # Build lapack-lite in 64-bit integer mode. |
