diff options
| author | serge-sans-paille <serge.guelton@telecom-bretagne.eu> | 2022-02-20 22:27:07 +0100 |
|---|---|---|
| committer | serge-sans-paille <serge.guelton@telecom-bretagne.eu> | 2022-02-21 09:24:41 +0100 |
| commit | c620d366701bf729709f7f8bf98c151b2ee42bb4 (patch) | |
| tree | 378ecf079aa7884c97a364cf657acdf68b1aa3c5 /numpy/distutils | |
| parent | e3d19180974cea0d5fe213247bfed0a1aedbbb62 (diff) | |
| download | numpy-c620d366701bf729709f7f8bf98c151b2ee42bb4.tar.gz | |
road-to-cxx: x86-qsort.dispatch.c.src -> x86-qsort.dispatch.cpp
Actual c++ification.
Also fix a slight bug in numpy/distutils/ccompiler_opt.py when intermediate
directory is missing.
Diffstat (limited to 'numpy/distutils')
| -rw-r--r-- | numpy/distutils/ccompiler_opt.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/ccompiler_opt.py b/numpy/distutils/ccompiler_opt.py index d0c40a7b2..0343cb8f4 100644 --- a/numpy/distutils/ccompiler_opt.py +++ b/numpy/distutils/ccompiler_opt.py @@ -2551,6 +2551,8 @@ class CCompilerOpt(_Config, _Distutils, _Cache, _CCompiler, _Feature, _Parse): except OSError: pass + os.makedirs(os.path.dirname(config_path), exist_ok=True) + self.dist_log("generate dispatched config -> ", config_path) dispatch_calls = [] for tar in targets: |
