zhanweiw commented on issue #44310:
URL: https://github.com/apache/arrow/issues/44310#issuecomment-2408938753
> I think that `pyarrow/_generated_version.py` is generated automatically.
>
> I think that `fallback_version` is used by "setuptools" not PyArrow.
>
> Could you try `python -m pip install .` instead of `python setup.py
build_ext --inplace` and `python setup.py bdist_wheel`?
Got below issue with above command:
```
[114/334] Compiling C object
numpy/_core/_multiarray_tests.cp312-win_arm64.pyd.p/meson-generated__multiarray_tests.c.obj
FAILED:
numpy/_core/_multiarray_tests.cp312-win_arm64.pyd.p/meson-generated__multiarray_tests.c.obj
"clang-cl"
"-Inumpy\_core\_multiarray_tests.cp312-win_arm64.pyd.p" "-Inumpy\_core"
"-I..\numpy\_core" "-I..\numpy\_core\src\multiarray"
"-I..\numpy\_core\src\npymath" "-Inumpy\_core\include"
"-I..\numpy\_core\include" "-I..\numpy\_core\src\common"
"-IC:\Programs\Python\Python312-arm64\Include"
"-IC:\Users\zhanw\AppData\Local\Temp\pip-install-l3cp_q1s\numpy_e774c5d2837a4788b968dbaa52f05202\.mesonpy-8gh30u70\meson_cpu"
"-DNDEBUG" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/clang:-std=c11"
"/O2" "/Gw" "-fno-strict-aliasing" "/clang:-ftrapping-math"
"-DNPY_HAVE_CLANG_FPSTRICT" "-DNPY_HAVE_NEON_VFPV4" "-DNPY_HAVE_NEON_FP16"
"-DNPY_HAVE_NEON" "-DNPY_HAVE_ASIMD" "-DNPY_INTERNAL_BUILD"
"-DHAVE_NPY_CONFIG_H" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE=1"
"-D_LARGEFILE64_SOURCE=1"
"/Fdnumpy\_core\_multiarray_tests.cp312-win_arm64.pyd.p\meson-generated__multiarray_tests.c.pdb"
/Fonumpy/_core/_multiarray_tests.cp312-win_arm64.pyd.p/meson-generated__multiarray_tests.c.obj
"/
c" numpy/_core/_multiarray_tests.cp312-win_arm64.pyd.p/_multiarray_tests.c
..\numpy\_core\src\multiarray\_multiarray_tests.c.src(1883,17):
error: invalid operand in inline asm: 'fstcw ${0:w}'
1883 | __asm__("fstcw %w0" : "=m" (cw));
| ^
..\numpy\_core\src\multiarray\_multiarray_tests.c.src(1883,17):
error: unrecognized instruction mnemonic
<inline asm>(1,2): note: instantiated into assembly here
1 | fstcw
| ^
2 errors generated.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]