{"action":"created","issue":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1823","repository_url":"https://api.github.com/repos/xianyi/OpenBLAS","labels_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1823/labels{/name}","comments_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1823/comments","events_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1823/events","html_url":"https://github.com/xianyi/OpenBLAS/issues/1823","id":371242962,"node_id":"MDU6SXNzdWUzNzEyNDI5NjI=","number":1823,"title":"win10 + androidndk + clang","user":{"login":"jeffmorr","id":9374035,"node_id":"MDQ6VXNlcjkzNzQwMzU=","avatar_url":"https://avatars0.githubusercontent.com/u/9374035?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffmorr","html_url":"https://github.com/jeffmorr","followers_url":"https://api.github.com/users/jeffmorr/followers","following_url":"https://api.github.com/users/jeffmorr/following{/other_user}","gists_url":"https://api.github.com/users/jeffmorr/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffmorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffmorr/subscriptions","organizations_url":"https://api.github.com/users/jeffmorr/orgs","repos_url":"https://api.github.com/users/jeffmorr/repos","events_url":"https://api.github.com/users/jeffmorr/events{/privacy}","received_events_url":"https://api.github.com/users/jeffmorr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2018-10-17T19:58:13Z","updated_at":"2018-10-19T15:05:57Z","closed_at":null,"author_association":"NONE","body":"I'm struggling to build OpenBlas using the steps in https://github.com/xianyi/OpenBLAS/wiki/How-to-build-OpenBLAS-for-Android Build ARMV8 with clang. \r\n\r\nI keep getting the error - make: *** No targets specified and no makefile found.    Stop. \r\nI don't know how to fix this.\r\n\r\nHere are the steps I took:\r\n   \r\n\r\n- Created my own toolchain.\r\n`export NDKROOT=C:/Users/Jeff/AppData/Local/Android/Sdk/ndk-bundle\r\n   python $NDKROOT/build/tools/make_standalone_toolchain.py --arch arm64 --api 22 --install-dir \\\r\n   C:/Users/Jeff/Documents/OpenBlasToolchain --force`\r\n\r\n- Attempted to compile OpenBlas\r\n`export NDK_BUNDLE_DIR=C:\\\\Users\\\\Jeff\\\\AppData\\\\Local\\\\Android\\\\Sdk\\\\ndk-bundle\r\nexport PATH=$PATH:${NDK_BUNDLE_DIR}\\\\OpenBlasToolchain\\\\bin\r\nexport LDFLAGS=\"-L${NDK_BUNDLE_DIR}\\\\OpenBlasToolchain\\\\lib\\\\gcc\\\\aarch64-linux-android\\\\4.9.x -lm\"\r\nexport CLANG_FLAGS=\"-target aarch64-linux-android --sysroot ${NDK_BUNDLE_DIR}}\\\\OpenBlasToolchain\\\\sysroot\\\\usr\\\\include -gcc-toolchain ${NDK_BUNDLE_DIR}\\\\OpenBlasToolchain\\\\bin\"\r\nmake TARGET=ARMV8 AR=ar CC=\"clang ${CLANG_FLAGS}\" NOFORTRAN=1 NO_LAPACK=1 HOSTCC=gcc\r\n`\r\n\r\nHelp is appreciated!\r\n"},"comment":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/comments/431394767","html_url":"https://github.com/xianyi/OpenBLAS/issues/1823#issuecomment-431394767","issue_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1823","id":431394767,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTM5NDc2Nw==","user":{"login":"martin-frbg","id":6192365,"node_id":"MDQ6VXNlcjYxOTIzNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/6192365?v=4","gravatar_id":"","url":"https://api.github.com/users/martin-frbg","html_url":"https://github.com/martin-frbg","followers_url":"https://api.github.com/users/martin-frbg/followers","following_url":"https://api.github.com/users/martin-frbg/following{/other_user}","gists_url":"https://api.github.com/users/martin-frbg/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-frbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-frbg/subscriptions","organizations_url":"https://api.github.com/users/martin-frbg/orgs","repos_url":"https://api.github.com/users/martin-frbg/repos","events_url":"https://api.github.com/users/martin-frbg/events{/privacy}","received_events_url":"https://api.github.com/users/martin-frbg/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T15:05:57Z","updated_at":"2018-10-19T15:05:57Z","author_association":"COLLABORATOR","body":"I think I got it -  it is probably picking up the host compiler now when you just set CC=gcc rather than CC=/path/to/your/toolchain/gcc - this problem could not arise with clang as you have no clang outside the NDK. \r\nI assume just using clang with a different Android API level did not solve the original crtbegin problem, or was this combination not available ?"}}
{"actor":{"display_login":"martin-frbg"}}