You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ZYPThu (via GitHub)" <gi...@apache.org> on 2024/03/27 02:41:03 UTC
[I] Can not build on WOA [arrow]
ZYPThu opened a new issue, #40812:
URL: https://github.com/apache/arrow/issues/40812
### Describe the bug, including details regarding any error messages, version, and platform.
I'm trying to build pyarrow on my computer, however i failed
informations are as follows:
CPU: Snapdragon (TM) 8cx Gen 3 @ 3.0 GHz 3.00 GHz
Operating System: Windows 11 (on Arm) Pro 23H2
Python Version: Python 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:15:59) [MSC v.1937 64 bit (ARM64)] on win32
CMAKE Generators:* Visual Studio 17 2022 = Generates Visual Studio 2022 project files.
Use -A option to specify architecture.
Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
Use -A option to specify architecture.
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 12 2013 [arch] = Deprecated. Generates Visual Studio 2013
project files. Optional [arch] can be
"Win64" or "ARM".
Visual Studio 9 2008 [arch] = Deprecated. Generates Visual Studio 2008
project files. Optional [arch] can be
"Win64" or "IA64".
Error Information:
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=C:\Users\galoi\AppData\Local\Temp\pip-install-01tgqd25\pyarrow_11093f30426b4b94af430898f7f63494\build\lib.win-arm64-cpython-311\pyarrow -DPYTHON_EXECUTABLE=D:\Anaconda3\envs\Python311-ARM64\Scripts\python.exe -DPython3_EXECUTABLE=D:\Anaconda3\envs\Python311-ARM64\Scripts\python.exe -DPYARROW_CXXFLAGS= -G "Visual Studio 15 2017 Win64" -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release C:\Users\galoi\AppData\Local\Temp\pip-install-01tgqd25\pyarrow_11093f30426b4b94af430898f7f63494
CMake Error at CMakeLists.txt:22 (project):
Generator
Visual Studio 15 2017 Win64
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
error: command 'D:\\Program Files\\CMake\\bin\\cmake.exe' failed with exit code 1
[end of output]
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Can not build on WINDOWS ON ARM [arrow]
Posted by "Greenie0701 (via GitHub)" <gi...@apache.org>.
Greenie0701 commented on issue #40812:
URL: https://github.com/apache/arrow/issues/40812#issuecomment-3274508010
To build the Python version of Arrow (pyarrow) for Windows ARM64, follow these steps:
- Set up Vcpkg and install all the required dependencies for Arrow. (Note: Building the fully optimized pyarrow library may require around 126 libraries via Vcpkg.)
- Install the latest stable LLVM toolchain for Windows on ARM (WoA) and ensure you're using clang-cl for the build process.
- Avoid using MSVC, as it lacks support for several dispatch units used by Arrow. Using clang-cl helps prevent compatibility issues and wasted effort.
- Build the C++ version of Arrow first using CMake. Use appropriate CMake flags to configure the build for clang-cl.
- Set the PYARROW_HOME environment variable to the installation directory of your C++ Arrow build.
- In the python directory of the Arrow source:
- Patch the setup.py script to ensure it uses clang-cl, just like you did for the C++ build.
- Build pyarrow using the modified setup.py.
- Repair the generated wheel, ensuring all required DLLs are correctly linked.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Can not build on WOA [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #40812:
URL: https://github.com/apache/arrow/issues/40812#issuecomment-2021830170
What is "WOA"?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Can not build on WINDOWS ON ARM [arrow]
Posted by "thisisnic (via GitHub) via issues" <is...@arrow.apache.org>.
thisisnic closed issue #40812: [Python] Can not build on WINDOWS ON ARM
URL: https://github.com/apache/arrow/issues/40812
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Can not build on WINDOWS ON ARM [arrow]
Posted by "cyb70289 (via GitHub)" <gi...@apache.org>.
cyb70289 commented on issue #40812:
URL: https://github.com/apache/arrow/issues/40812#issuecomment-2021911884
We did tested Windows on Arm when review PR https://github.com/apache/arrow/pull/11383.
This patch uses clang for windows, not visual studio. It's more than two years ago, not sure of current status.
Related document is at https://github.com/apache/arrow/blob/main/docs/source/developers/cpp/windows.rst#building-on-windowsarm64-using-ninja-and-clang
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Can not build on WINDOWS ON ARM [arrow]
Posted by "thisisnic (via GitHub) via github" <gi...@arrow.apache.org>.
thisisnic commented on issue #40812:
URL: https://github.com/apache/arrow/issues/40812#issuecomment-7115456794
Thanks for reporting this! I'm going through older bug issues to see if we can close them out or we need further action.
Building on Windows ARM64 needs the clang/Ninja route described in `docs/source/developers/cpp/windows.rst`, and the comment above has full steps for the Python side. Pre-built Windows ARM64 wheels are tracked in #47195. Closing this as answered.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org