diff options
| author | gfyoung <gfyoung17@gmail.com> | 2015-12-20 01:08:29 -0800 |
|---|---|---|
| committer | gfyoung <gfyoung17@gmail.com> | 2015-12-20 01:08:29 -0800 |
| commit | 0574f62bf58eada5860fe0620151aede85a8dae4 (patch) | |
| tree | 03c72921d245369a4e4042344fe877fc05e8583b /numpy/distutils/system_info.py | |
| parent | 144c34b8ecd051e05a93c6268290eadb1827afb0 (diff) | |
| download | numpy-0574f62bf58eada5860fe0620151aede85a8dae4.tar.gz | |
MAINT: Remove commented out code blocks
Diffstat (limited to 'numpy/distutils/system_info.py')
| -rw-r--r-- | numpy/distutils/system_info.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index bf2762523..dde18dfa5 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -677,11 +677,6 @@ class system_info(object): exts.append('.dll.a') if sys.platform == 'darwin': exts.append('.dylib') - # Debian and Ubuntu added a g3f suffix to shared library to deal with - # g77 -> gfortran ABI transition - # XXX: disabled, it hides more problem than it solves. - #if sys.platform[:5] == 'linux': - # exts.append('.so.3gf') return exts def check_libs(self, lib_dirs, libs, opt_libs=[]): @@ -995,13 +990,10 @@ class mkl_info(system_info): l = 'mkl' # use shared library if cpu.is_Itanium(): plt = '64' - #l = 'mkl_ipf' elif cpu.is_Xeon(): plt = 'intel64' - #l = 'mkl_intel64' else: plt = '32' - #l = 'mkl_ia32' if l not in self._lib_mkl: self._lib_mkl.insert(0, l) system_info.__init__( @@ -1243,8 +1235,6 @@ class atlas_3_10_blas_info(atlas_3_10_info): class atlas_3_10_threads_info(atlas_3_10_info): dir_env_var = ['PTATLAS', 'ATLAS'] _lib_names = ['tatlas'] - #if sys.platfcorm[:7] == 'freebsd': - ## I don't think freebsd supports 3.10 at this time - 2014 _lib_atlas = _lib_names _lib_lapack = _lib_names @@ -1535,7 +1525,6 @@ class lapack_opt_info(system_info): ('HAVE_CBLAS', None)]) return - #atlas_info = {} ## uncomment for testing need_lapack = 0 need_blas = 0 info = {} @@ -1567,7 +1556,6 @@ class lapack_opt_info(system_info): if need_blas: blas_info = get_info('blas') - #blas_info = {} ## uncomment for testing if blas_info: dict_append(info, **blas_info) else: @@ -1941,13 +1929,6 @@ class _numpy_info(system_info): '"\\"%s\\""' % (vrs)), (self.modulename.upper(), None)] break -## try: -## macros.append( -## (self.modulename.upper()+'_VERSION_HEX', -## hex(vstr2hex(module.__version__))), -## ) -## except Exception as msg: -## print(msg) dict_append(info, define_macros=macros) include_dirs = self.get_include_dirs() inc_dir = None @@ -2322,17 +2303,6 @@ class umfpack_info(system_info): self.set_info(**info) return -## def vstr2hex(version): -## bits = [] -## n = [24,16,8,4,0] -## r = 0 -## for s in version.split('.'): -## r |= int(s) << n[0] -## del n[0] -## return r - -#-------------------------------------------------------------------- - def combine_paths(*args, **kws): """ Return a list of existing paths composed by all combinations of |
