clang-omp / clang

clang with OpenMP 3.1 and some elements of OpenMP 4.0 support
clang-omp.github.com
Other
91 stars 15 forks source link

Clang/LLVM build issue #72

Open simoatze opened 9 years ago

simoatze commented 9 years ago

Hi,

I am having problems building Clang/LLVM OpenMP version.

Here my procedure:

I cloned the following repos:

git clone git@github.com:clang-omp/llvm.git llvm git clone git@github.com:clang-omp/compiler-rt.git llvm/projects git clone -b clang-omp git@github.com:clang-omp/clang.git llvm/tools/clang

I created folder 'llvm_build' in the same level of the folder llvm and run:

cmake ../llvm

then:

make

I am getting this error:

make[2]: * No rule to make target lib/libLLVMSupport.a', needed bybin/llvm-tblgen'. Stop. make[1]: * [utils/TableGen/CMakeFiles/llvm-tblgen.dir/all] Error 2 make: *\ [all] Error 2

it happens very early (about 5% building).

Am I doing something wrong?

Thanks. Simone

alexey-bataev commented 9 years ago

Hmm, I could not reproduce it. What is your platform?

Best regards,

Alexey Bataev

Software Engineer Intel Compiler Team Intel Corp.

22.05.2015 3:42, Simone пишет:

Hi,

I am having problems building Clang/LLVM OpenMP version.

Here my procedure:

I cloned the following repos:

git clone git@github.com mailto:git@github.com:clang-omp/llvm.git llvm git clone git@github.com mailto:git@github.com:clang-omp/compiler-rt.git llvm/projects git clone https://github.com/clang-omp/clang.git tools/clang

I created folder 'llvm_build' in the same level of the folder llvm and run:

cmake ../llvm

then:

make

I am getting this error:

make[2]: * No rule to make target |lib/libLLVMSupport.a', needed by|bin/llvm-tblgen'. Stop. make[1]: * [utils/TableGen/CMakeFiles/llvm-tblgen.dir/all] Error 2 make: *\ [all] Error 2

it happens very early (about 5% building).

Am I doing something wrong?

Thanks. Simone

— Reply to this email directly or view it on GitHub https://github.com/clang-omp/clang/issues/72.

simoatze commented 9 years ago

it's a RedHat Enterprise linux Server 6.6 (kernel 2.6.32). I have compiled it several time, I guess is something in my environment, do you have any clue how to debug it? it does not give many info when it fails.

Simone

andreybokhanko commented 9 years ago

Hi Simone,

OpenMP 3.1 support is now fully upstreamed to clang/llvm trunk (see http://lists.cs.uiuc.edu/pipermail/cfe-dev/2015-May/042845.html).

Thus, if you don't need a specific OpenMP 4.0 feature that is available here but not in trunk yet, I suggest you to use trunk version -- there are much better chances to get help for a configuration / build problem when the whole community can see your message (especially given that your build problem is not OpenMP-specific).

We always intended this github repo to serve as a temporary storage for OpenMP implementation before upstreaming, nothing more.

Yours,

Andrey Bokhanko

Intel Compiler Team Intel