forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
MAINT: refactor _Distutils out of CCompiler_Opt #46
Copy link
Copy link
Closed
Description
As part of PR numpy#13516, we added a CCompilerOpt class in numpy/distutils/ccompiler_opt.py. The class implements the compiler side of NEP0038 SIMD optimizations which
- parses the command line arguments
--cpu-baselineand--cpu-dispatch - probes the compiler to make sure the requested features can be used
- creates header files with appropriate
#definemacros - caches the results for recompilation
- reports results and errors to the console.
The code as-is should be refactored to reuse more of the distuitils infrastructure where possible. In particular, the _Distutils class re-implements logging and compilation: tasks that should be delegated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels