meow464
meow464
I'm also running into this problem when creating an iOS cross compiler from macOS Monterey x86_6. - Instructions from [here](https://github.com/iains/gcc-darwin-arm64/issues/34) (see my comment for command used) - branch master-wip-apple-si, [head](https://github.com/iains/gcc-darwin-arm64/commit/27d5c336c324668776b7c9f1fe0b55e49d09c903)...
I'm trying to follow the instructions in the OP on macOS Monterey x86 but it fails at libgcc_s.dylib: libgcc_s.dylib error ``` /Users/tuco/Projects/gcc-darwin-arm64-build/./gcc/xgcc -B/Users/tuco/Projects/gcc-darwin-arm64-build/./gcc/ -B/tmp/aarch64-apple-darwin20/bin/ -B/tmp/aarch64-apple-darwin20/lib/ -isystem /tmp/aarch64-apple-darwin2 0/include -isystem /tmp/aarch64-apple-darwin20/sys-include...
This recipe seem to build successfully but there are still some things to be worked out. ``` from kivy_ios.toolchain import CythonRecipe from os.path import join import sh import shutil class...
It seems the numpy setup.py or cython were trying to build a test binary but the linker was not receiving `/usr/local/flang-iOS` or `dist/hostpython3/lib`. Adding an -L flag solved this. Now...
I think I made progress: duplicated_symbols.patch (numpy) ``` diff -Naur numpy-1.20.2.orig/numpy/linalg/setup.py numpy-1.20.2/numpy/linalg/setup.py --- numpy-1.20.2.orig/numpy/linalg/setup.py 2021-04-04 11:04:17.000000000 +0200 +++ numpy-1.20.2/numpy/linalg/setup.py 2021-04-04 11:04:54.000000000 +0200 @@ -75,7 +75,7 @@ # umath_linalg module config.add_extension(...
It seems numpy can find openblas but it shows the host's path `/Users/tuco/Projects/kivy-OpenBLAS/dist/hostpython3/lib`. I'm able to run some examples but I still don't know for sure if it can use...
I don't yet have a recipe, I just drop the flang and openblas .a files under `dist/hostpython3/lib` and `dist/lib`. If I just do that and run the project the benchmark...
I tried with pure numpy, `size=1536` and it took ~8 seconds. (4096 took over 20 minutes and didn't finish). The 5 seconds result from above was openblas and the 1.5...
Calling linalg.svd and linalg.eig causes a EXC_BAD_ACCESS. I'm using the examples from [here](https://markus-beuckelmann.de/blog/boosting-numpy-blas.html). I will post more information later. I will try the examples on macos with openblas built with...
To be more specific, what I have in mind is using `pip install -r requirements.txt` and keeping the dependencies of p4a in requirements.txt. setup.py and requirements.txt would need to be...