{"action":"created","issue":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/529","labels_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/529/labels{/name}","comments_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/529/comments","events_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/529/events","html_url":"https://github.com/xianyi/OpenBLAS/issues/529","id":65946107,"number":529,"title":"OpenBLAS unable to detect architecture correctly, failing on new Macbook Pro","user":{"login":"sbromberger","id":941359,"avatar_url":"https://avatars.githubusercontent.com/u/941359?v=3","gravatar_id":"","url":"https://api.github.com/users/sbromberger","html_url":"https://github.com/sbromberger","followers_url":"https://api.github.com/users/sbromberger/followers","following_url":"https://api.github.com/users/sbromberger/following{/other_user}","gists_url":"https://api.github.com/users/sbromberger/gists{/gist_id}","starred_url":"https://api.github.com/users/sbromberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbromberger/subscriptions","organizations_url":"https://api.github.com/users/sbromberger/orgs","repos_url":"https://api.github.com/users/sbromberger/repos","events_url":"https://api.github.com/users/sbromberger/events{/privacy}","received_events_url":"https://api.github.com/users/sbromberger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-02T15:04:05Z","updated_at":"2015-04-07T19:22:44Z","closed_at":null,"body":"During a Julia build:\r\n\r\n```\r\nMakefile:131: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.\r\n*** Clean the OpenBLAS build with 'make -C deps clean-openblas'. Rebuild with 'make OPENBLAS_USE_THREAD=0 if OpenBLAS had trouble linking libpthread.so, and with 'make OPENBLAS_TARGET_ARCH=NEHALEM' if there were errors building SandyBridge support. Both these options can also be used simultaneously. ***\r\nmake[1]: *** [openblas-v0.2.13/libopenblas.dylib] Error 1\r\n```\r\n\r\nExplicitly setting the target architecture to HASWELL (even though it's broadwell) solves the issue. What information can I provide that will assist in a fix?\r\n\r\nThis is from Julia's `versioninfo()`:\r\n```\r\nPlatform Info:\r\n  System: Darwin (x86_64-apple-darwin14.1.1)\r\n  CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT NO_AFFINITY HASWELL)\r\n  LAPACK: libopenblas\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.3\r\n```\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10366537-openblas-unable-to-detect-architecture-correctly-failing-on-new-macbook-pro?utm_campaign=plugin&utm_content=tracker%2F69691&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F69691&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/comments/90705660","html_url":"https://github.com/xianyi/OpenBLAS/issues/529#issuecomment-90705660","issue_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/529","id":90705660,"user":{"login":"xianyi","id":371600,"avatar_url":"https://avatars.githubusercontent.com/u/371600?v=3","gravatar_id":"","url":"https://api.github.com/users/xianyi","html_url":"https://github.com/xianyi","followers_url":"https://api.github.com/users/xianyi/followers","following_url":"https://api.github.com/users/xianyi/following{/other_user}","gists_url":"https://api.github.com/users/xianyi/gists{/gist_id}","starred_url":"https://api.github.com/users/xianyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xianyi/subscriptions","organizations_url":"https://api.github.com/users/xianyi/orgs","repos_url":"https://api.github.com/users/xianyi/repos","events_url":"https://api.github.com/users/xianyi/events{/privacy}","received_events_url":"https://api.github.com/users/xianyi/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T19:22:44Z","updated_at":"2015-04-07T19:22:44Z","body":"@tkelman , @ViralBShah ,  Thank you. Actually, I am a visiting scholar at UT."}}