{"action":"created","issue":{"url":"https://api.github.com/repos/shadow/shadow/issues/350","repository_url":"https://api.github.com/repos/shadow/shadow","labels_url":"https://api.github.com/repos/shadow/shadow/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/shadow/shadow/issues/350/comments","events_url":"https://api.github.com/repos/shadow/shadow/issues/350/events","html_url":"https://github.com/shadow/shadow/issues/350","id":263657390,"number":350,"title":"Build issue with LLVM","user":{"login":"JRud52","id":6298953,"avatar_url":"https://avatars3.githubusercontent.com/u/6298953?v=4","gravatar_id":"","url":"https://api.github.com/users/JRud52","html_url":"https://github.com/JRud52","followers_url":"https://api.github.com/users/JRud52/followers","following_url":"https://api.github.com/users/JRud52/following{/other_user}","gists_url":"https://api.github.com/users/JRud52/gists{/gist_id}","starred_url":"https://api.github.com/users/JRud52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JRud52/subscriptions","organizations_url":"https://api.github.com/users/JRud52/orgs","repos_url":"https://api.github.com/users/JRud52/repos","events_url":"https://api.github.com/users/JRud52/events{/privacy}","received_events_url":"https://api.github.com/users/JRud52/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-07T17:19:43Z","updated_at":"2017-10-09T15:10:44Z","closed_at":null,"author_association":"NONE","body":"I am getting this error while trying to run the build script.\r\n \r\n```\r\njrud@solus_thinkpad ~/documents/school/thesis/shadow $ ./setup build\r\n2017-10-07 13:11:58,469 [INFO] running 'cmake /home/jrud/documents/school/thesis/shadow -DCMAKE_INSTALL_PREFIX=/home/jrud/.shadow -DCMAKE_EXTRA_INCLUDES=/home/jrud/documents/school/thesis/shadow/build;/home/jrud/.shadow/include -DCMAKE_EXTRA_LIBRARIES=/home/jrud/documents/school/thesis/shadow/build;/home/jrud/.shadow/lib' from '/home/jrud/documents/school/thesis/shadow/build'\r\n-- The C compiler identification is Clang 4.0.1\r\n-- Check for working C compiler: /usr/bin/clang\r\n-- Check for working C compiler: /usr/bin/clang -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- \r\n-- -------------------------------------------------------------------------------\r\n-- Current settings: (change with '$ cmake -D<OPTION>=<ON|OFF>')\r\n-- SHADOW_DEBUG=OFF\r\n-- SHADOW_PROFILE=OFF\r\n-- SHADOW_TEST=OFF\r\n-- SHADOW_EXPORT=OFF\r\n-- -------------------------------------------------------------------------------\r\n-- \r\n-- CMAKE_BUILD_TYPE Release enabled.\r\n-- Check if the system is big endian\r\n-- Searching 16 bit integer\r\n-- Looking for sys/types.h\r\n-- Looking for sys/types.h - found\r\n-- Looking for stdint.h\r\n-- Looking for stdint.h - found\r\n-- Looking for stddef.h\r\n-- Looking for stddef.h - found\r\n-- Check size of unsigned short\r\n-- Check size of unsigned short - done\r\n-- Using unsigned short\r\n-- Check if the system is big endian - little endian\r\n-- CMAKE_MODULE_PATH = /home/jrud/documents/school/thesis/shadow/cmake/;/home/jrud/.shadow/include;/home/jrud/documents/school/thesis/shadow/build\r\n-- Decompressing /home/jrud/documents/school/thesis/shadow/resource/topology.graphml.xml.xz\r\n-- Found components for RT\r\n-- RT_INCLUDES = /usr/include\r\n-- RT_LIBRARIES = /usr/lib/librt.so\r\n-- Found components for DL\r\n-- DL_INCLUDES = /usr/include\r\n-- DL_LIBRARIES = /usr/lib/libdl.so\r\n-- Found components for M\r\n-- M_INCLUDES = /usr/include\r\n-- M_LIBRARIES = /usr/lib/libm.so\r\n-- Found components for IGRAPH\r\n-- IGRAPH_INCLUDES = /usr/local/include/igraph\r\n-- IGRAPH_LIBRARIES = /usr/local/lib/libigraph.so\r\n-- IGRAPH_VERSION_STRING_LINE = #define IGRAPH_VERSION \"0.7.1\"\r\n-- IGRAPH_VERSION_MAJOR_GUESS = 0\r\n-- IGRAPH_VERSION_MINOR_GUESS = 7\r\n-- IGRAPH_VERSION_PATCH_GUESS = 1\r\n-- Found components for GLIB\r\n-- GLIB_INCLUDES = /usr/include/glib-2.0;/usr/include/glib-2.0\r\n-- GLIB_LIBRARIES = /usr/lib/libglib-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgmodule-2.0.so\r\n-- GLIB_MAJOR_VERSION = \r\n-- GLIB_MINOR_VERSION = \r\n-- GLIB_MICRO_VERSION = \r\n-- Checking for C LLVM compiler...\r\n-- Checking for C LLVM compiler... works.\r\n-- Checking for CXX LLVM compiler...\r\n-- Checking for CXX LLVM compiler... works.\r\n-- The CXX compiler identification is Clang 4.0.1\r\n-- Check for working CXX compiler: /usr/bin/clang++\r\n-- Check for working CXX compiler: /usr/bin/clang++ -- 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-- Found components for LLVM\r\n-- LLVM_CMAKE_DIR = /usr/lib/cmake/llvm\r\nCMake Warning (dev) at /usr/lib/cmake/llvm/AddLLVM.cmake:629 (if):\r\n  Policy CMP0057 is not set: Support new IN_LIST if() operator.  Run \"cmake\r\n  --help-policy CMP0057\" for policy details.  Use the cmake_policy command to\r\n  set the policy and suppress this warning.\r\n\r\n  IN_LIST will be interpreted as an operator when the policy is set to NEW.\r\n  Since the policy is not set the OLD behavior will be used.\r\nCall Stack (most recent call first):\r\n  src/plugin/llvm-hoist-pass/CMakeLists.txt:44 (add_llvm_loadable_module)\r\nThis warning is for project developers.  Use -Wno-dev to suppress it.\r\n\r\nCMake Error at /usr/lib/cmake/llvm/AddLLVM.cmake:629 (if):\r\n  if given arguments:\r\n\r\n    \"LLVMHoistGlobals\" \"IN_LIST\" \"LLVM_DISTRIBUTION_COMPONENTS\" \"OR\" \"NOT\" \"LLVM_DISTRIBUTION_COMPONENTS\"\r\n\r\n  Unknown arguments specified\r\nCall Stack (most recent call first):\r\n  src/plugin/llvm-hoist-pass/CMakeLists.txt:44 (add_llvm_loadable_module)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/jrud/documents/school/thesis/shadow/build/CMakeFiles/CMakeOutput.log\".\r\n2017-10-07 13:12:01,380 [ERROR]  Non-zero return code from cmake.\r\n```\r\nCMake version:\r\n```\r\njrud@solus_thinkpad ~/documents/school/thesis/shadow $ cmake --version\r\ncmake version 3.8.2\r\n\r\nCMake suite maintained and supported by Kitware (kitware.com/cmake).\r\n```\r\nClang version:\r\n```\r\njrud@solus_thinkpad ~/documents/school/thesis/shadow $ clang --version\r\nclang version 4.0.1 (tags/RELEASE_401/final)\r\nTarget: x86_64-solus-linux\r\nThread model: posix\r\nInstalledDir: /usr/bin\r\n```\r\nDistro info: \r\n```\r\njrud@solus_thinkpad ~/documents/school/thesis/shadow $ lsb_release -a\r\nLSB Version:\t1.4\r\nDistributor ID:\tSolus\r\nDescription:\tSolus\r\nRelease:\t3\r\nCodename:\tshannon\r\n```\r\nLinux version:\r\n```\r\njrud@solus_thinkpad ~/documents/school/thesis/shadow $ uname -srv\r\nLinux 4.12.14-21.current #1 SMP Fri Sep 22 03:15:23 UTC 2017\r\n```"},"comment":{"url":"https://api.github.com/repos/shadow/shadow/issues/comments/335187562","html_url":"https://github.com/shadow/shadow/issues/350#issuecomment-335187562","issue_url":"https://api.github.com/repos/shadow/shadow/issues/350","id":335187562,"user":{"login":"robgjansen","id":788144,"avatar_url":"https://avatars1.githubusercontent.com/u/788144?v=4","gravatar_id":"","url":"https://api.github.com/users/robgjansen","html_url":"https://github.com/robgjansen","followers_url":"https://api.github.com/users/robgjansen/followers","following_url":"https://api.github.com/users/robgjansen/following{/other_user}","gists_url":"https://api.github.com/users/robgjansen/gists{/gist_id}","starred_url":"https://api.github.com/users/robgjansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robgjansen/subscriptions","organizations_url":"https://api.github.com/users/robgjansen/orgs","repos_url":"https://api.github.com/users/robgjansen/repos","events_url":"https://api.github.com/users/robgjansen/events{/privacy}","received_events_url":"https://api.github.com/users/robgjansen/received_events","type":"User","site_admin":false},"created_at":"2017-10-09T15:10:44Z","updated_at":"2017-10-09T15:10:44Z","author_association":"OWNER","body":"I just released Shadow version 1.12.0. We have now removed LLVM/Clang as a component in the build process, along with a host of other improvements. Could you please try installing the latest from master? (The wiki pages have been updated to be consistent with installing v1.12.0.)"}}
{"actor":{"display_login":"robgjansen"}}