From c620d366701bf729709f7f8bf98c151b2ee42bb4 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Sun, 20 Feb 2022 22:27:07 +0100 Subject: 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. --- numpy/distutils/ccompiler_opt.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/distutils/ccompiler_opt.py') 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: -- cgit v1.2.1