From 691dffdda14a642202d14ade5a1ddb0c78c8f14b Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Tue, 18 Jul 2023 02:28:40 -0400 Subject: [PATCH] Try to resolve issues for x86 Windows --- deps/build.jl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deps/build.jl b/deps/build.jl index 52b970c8..f459d913 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -76,7 +76,13 @@ try # make sure deps.jl file is removed on error use_conda = dirname(python) == abspath(Conda.PYTHONDIR) if use_conda - Conda.add("numpy"; satisfied_skip_solve=true) + if Sys.iswindows() && Sys.WORD_SIZE == 32 + # Conda is no longer distributed for 32-bit Windows + # and does not have satisified_skip_solve + Conda.add("numpy") + else + Conda.add("numpy"; satisfied_skip_solve=true) + end end (libpython, libpy_name) = find_libpython(python)