{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21016","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21016/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21016/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21016/events","html_url":"https://github.com/NixOS/nixpkgs/pull/21016","id":194552950,"number":21016,"title":"openblas: Fix build issue when inside VM and CPU is undetected","user":{"login":"knedlsepp","id":3287933,"avatar_url":"https://avatars.githubusercontent.com/u/3287933?v=3","gravatar_id":"","url":"https://api.github.com/users/knedlsepp","html_url":"https://github.com/knedlsepp","followers_url":"https://api.github.com/users/knedlsepp/followers","following_url":"https://api.github.com/users/knedlsepp/following{/other_user}","gists_url":"https://api.github.com/users/knedlsepp/gists{/gist_id}","starred_url":"https://api.github.com/users/knedlsepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knedlsepp/subscriptions","organizations_url":"https://api.github.com/users/knedlsepp/orgs","repos_url":"https://api.github.com/users/knedlsepp/repos","events_url":"https://api.github.com/users/knedlsepp/events{/privacy}","received_events_url":"https://api.github.com/users/knedlsepp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T09:46:18Z","updated_at":"2016-12-09T09:46:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21016","html_url":"https://github.com/NixOS/nixpkgs/pull/21016","diff_url":"https://github.com/NixOS/nixpkgs/pull/21016.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/21016.patch"},"body":"###### Motivation for this change\r\nTrying to build openblas inside a virtual machine leads an undetected CPU and a build failure.\r\nI circumvent this the same way it is done in the OpenBLAS .travis.yml: https://github.com/xianyi/OpenBLAS/blob/master/.travis.yml and set the TARGET flag to NEHALEM. It is odd that we have to do this even though DYNAMIC_ARCH is set. That is why I opened an issue upstream:\r\nhttps://github.com/xianyi/OpenBLAS/issues/1027\r\n\r\n###### Things done\r\n\r\n- [ ] Tested using sandboxing\r\n  ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS,\r\n    or option `build-use-sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file)\r\n    on non-NixOS)\r\n- Built on platform(s)\r\n   - [ ] NixOS\r\n   - [ ] macOS\r\n   - [x] Linux\r\n- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run \"nox-review wip\"`\r\n- [ ] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).\r\n\r\n---\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/265973906","html_url":"https://github.com/NixOS/nixpkgs/pull/21016#issuecomment-265973906","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21016","id":265973906,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T09:46:19Z","updated_at":"2016-12-09T09:46:19Z","body":"@knedlsepp, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ttuegel, @FPtje and @adnelson to be potential reviewers."}}
{"actor":{"display_login":"mention-bot"}}