search for: llvm_config_path

Displaying 5 results from an estimated 5 matches for "llvm_config_path".

Did you mean: dllvm_config_path
2018 Nov 16
2
LLVM_CONFIG_PATH when building Clang from sources
...gure with: cmake -DCMAKE_INSTALL_PREFIX="/opt/llvm" \ -DLLVM_TARGETS_TO_BUILD="PowerPC" \ -DLLVM_INCLUDE_TOOLS="ON" \ -DLLVM_BUILD_TESTS="ON" "$LLVM_SOURCE_DIR" It results in "llvm-config not found: specify LLVM_CONFIG_PATH". The docs at https://llvm.org/docs/CMake.html don't appear to discuss LLVM_CONFIG_PATH. I'm building out-of-tree with these two variables: LLVM_SOURCE_DIR="$HOME/llvm_source" LLVM_BUILD_DIR="$HOME/llvm_build" How should I fix the LLVM_CONFIG_PATH error?...
2018 Nov 16
2
LLVM_CONFIG_PATH when building Clang from sources
On Fri, Nov 16, 2018 at 12:46 AM Tom Stellard <tstellar at redhat.com> wrote: > > On 11/15/2018 09:39 PM, Jeffrey Walton via llvm-dev wrote: > > I'm trying to build LLVM, CFE and RT from sources on an old PowerMac > > with OS X 10.5. > > Which version of clang/llvm are you using? LLVM 7.0. The script is available at
2018 Nov 16
2
LLVM_CONFIG_PATH when building Clang from sources
On Fri, Nov 16, 2018 at 1:02 AM Tom Stellard <tstellar at redhat.com> wrote: > > On 11/15/2018 09:47 PM, Jeffrey Walton wrote: > > On Fri, Nov 16, 2018 at 12:46 AM Tom Stellard <tstellar at redhat.com> wrote: > >> > >> On 11/15/2018 09:39 PM, Jeffrey Walton via llvm-dev wrote: > >>> I'm trying to build LLVM, CFE and RT from sources on an
2014 Mar 23
2
[LLVMdev] compiler-rt CMake build
...directory that contains > directory names that are meaningful to CMake, including 'bin', 'lib' > and 'share'. > > If, for example, you want the path to 'llvm-config', instead of > creating a new CMake variable, you instead write > "find_program(LLVM_CONFIG_PATH llvm-config)". CMake will search for > an executable named 'llvm-config' in each 'bin' directory of each path > in CMAKE_PREFIX_PATH. > > In a simplest case, where there is only one dependency, using > CMAKE_PREFIX_PATH means we do not have to standardize on a v...
2014 Mar 21
2
[LLVMdev] compiler-rt CMake build
On Thu, Mar 20, 2014 at 10:12 PM, Greg Fitzgerald <garious at gmail.com> wrote: > > ExternalProject_Add(compiler-rt ...) > > So that was quite the experiment. Looking at > clang/runtime/CMakeLists.txt, I'm not seeing a lot of bang for buck > here, and it looks like this file is prone to bit rot. Could you please elaborate on this? In fact, I don't plan to give