Builds the interpreter shared/dynamic library.
| 324 | clean.run(self) |
| 325 | |
| 326 | class build_ext(numpy_build_ext): |
| 327 | ''' Builds the interpreter shared/dynamic library.''' |
| 328 | |
| 329 | def build_extension(self, ext): |
| 330 | |
| 331 | if not NOGEN: |
| 332 | # Run Numpy to C generator |
| 333 | run_generator() |
| 334 | |
| 335 | compiler = self.compiler.compiler_type |
| 336 | # print( 'compiler_type is {}'.format(compiler ) ) |
| 337 | |
| 338 | if not compiler in extra_compile_args: |
| 339 | compiler = 'default' |
| 340 | |
| 341 | if BENCHMARKING: |
| 342 | print( "--BENCHMARKING IS ON--" ) |
| 343 | define_macros[compiler] += [('BENCHMARKING', 1)] |
| 344 | |
| 345 | ext.extra_compile_args = extra_compile_args[compiler] |
| 346 | ext.extra_libraries = extra_libraries[compiler] |
| 347 | ext.extra_link_args = extra_link_args[compiler] |
| 348 | ext.define_macros = define_macros[compiler] |
| 349 | |
| 350 | numpy_build_ext.build_extension(self, ext) |
| 351 | |
| 352 | if setuptools: |
| 353 | metadata['zip_safe'] = False |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…