From 4d85b6f26c2fcdb2a61ca3fc607459012c3ec5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Sun, 21 Dec 2014 01:32:04 +0100 Subject: [PATCH] Workaround for Ubuntu broken LLVM package (llvm-3.5-dev does not have correct cmake files) --- CMakeLists.txt | 11 +++++++---- evmjit | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index df33ca0e8..db5ddb864 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,6 +112,13 @@ include(EthExecutableHelper) createBuildInfo() +if (EVMJIT) + # Workaround for Ubuntu broken LLVM package + link_directories(/usr/lib/llvm-3.5/lib) + + add_subdirectory(evmjit) +endif() + add_subdirectory(libdevcore) add_subdirectory(libevmcore) add_subdirectory(liblll) @@ -156,10 +163,6 @@ if (NOT HEADLESS) endif() -if (EVMJIT) - add_subdirectory(evmjit) -endif() - enable_testing() add_test(NAME alltests WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/test COMMAND testeth) diff --git a/evmjit b/evmjit index ed63ced24..1b490244b 160000 --- a/evmjit +++ b/evmjit @@ -1 +1 @@ -Subproject commit ed63ced24456c28b6dba345b8fc61e680ed406d7 +Subproject commit 1b490244bf4864b96448d56a7cd20f3d5b0a0b9b