{"action":"created","issue":{"url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp/issues/17","repository_url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp","labels_url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp/issues/17/comments","events_url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp/issues/17/events","html_url":"https://github.com/kiliakis/BLonD-minimal-cpp/issues/17","id":166188255,"number":17,"title":"CMake configuration fails on OSx","user":{"login":"dpiparo","id":7850302,"avatar_url":"https://avatars.githubusercontent.com/u/7850302?v=3","gravatar_id":"","url":"https://api.github.com/users/dpiparo","html_url":"https://github.com/dpiparo","followers_url":"https://api.github.com/users/dpiparo/followers","following_url":"https://api.github.com/users/dpiparo/following{/other_user}","gists_url":"https://api.github.com/users/dpiparo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpiparo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpiparo/subscriptions","organizations_url":"https://api.github.com/users/dpiparo/orgs","repos_url":"https://api.github.com/users/dpiparo/repos","events_url":"https://api.github.com/users/dpiparo/events{/privacy}","received_events_url":"https://api.github.com/users/dpiparo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-18T20:40:47Z","updated_at":"2016-07-18T21:07:47Z","closed_at":null,"body":"Hi,\r\n\r\nI tried to configure BLonD on a mac and stumbled on these errors\r\n```\r\n-- The CXX compiler identification is AppleClang 7.3.0.7030031\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Performing Test COMPILER_HAS_CXX11\r\n-- Performing Test COMPILER_HAS_CXX11 - Success\r\n-- Try OpenMP CXX flag = [-fopenmp=libomp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [ ]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [-fopenmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [/openmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [-Qopenmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [-openmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [-xopenmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [+Oopenmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [-qsmp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\n-- Try OpenMP CXX flag = [-mp]\r\n-- Performing Test OpenMP_FLAG_DETECTED\r\n-- Performing Test OpenMP_FLAG_DETECTED - Failed\r\nCMake Error at /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):\r\n  Could NOT find OpenMP (missing: OpenMP_CXX_FLAGS)\r\nCall Stack (most recent call first):\r\n  /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)\r\n  /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindOpenMP.cmake:234 (find_package_handle_standard_args)\r\n  CMakeLists.txt:125 (find_package)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/Users/danilopiparo/blondTest/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/Users/danilopiparo/blondTest/build/CMakeFiles/CMakeError.log\".\r\n\r\n```\r\nI wonder if this is something easy to fix in order to be able to reach mac users (or people who happen to have a mac at disposal)."},"comment":{"url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp/issues/comments/233459309","html_url":"https://github.com/kiliakis/BLonD-minimal-cpp/issues/17#issuecomment-233459309","issue_url":"https://api.github.com/repos/kiliakis/BLonD-minimal-cpp/issues/17","id":233459309,"user":{"login":"dpiparo","id":7850302,"avatar_url":"https://avatars.githubusercontent.com/u/7850302?v=3","gravatar_id":"","url":"https://api.github.com/users/dpiparo","html_url":"https://github.com/dpiparo","followers_url":"https://api.github.com/users/dpiparo/followers","following_url":"https://api.github.com/users/dpiparo/following{/other_user}","gists_url":"https://api.github.com/users/dpiparo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpiparo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpiparo/subscriptions","organizations_url":"https://api.github.com/users/dpiparo/orgs","repos_url":"https://api.github.com/users/dpiparo/repos","events_url":"https://api.github.com/users/dpiparo/events{/privacy}","received_events_url":"https://api.github.com/users/dpiparo/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T21:07:47Z","updated_at":"2016-07-18T21:07:47Z","body":"Also related to openmp, the file include/blond/math_functions.h implicitly assumes the presence of the package."}}
{"actor":{"display_login":"dpiparo"}}