Comments (9)
Hi Uday,
I managed to surpass the issue with FileCheck but now my new issue seems related to this one.
I could not find a solution based on the comments above.
Any help?Attached you may find my config.log file
config.logThank you in advance,
George
False alarm.
I found out that I needed to do
sudo apt install libclang-dev
I thought I have done it before.
Thanks,
--George
from pluto.
It will only work with 3.4. Could you attach your config.log (or paste the relevant lines) when you obtain the error with clang 3.4? Thanks.
from pluto.
when I try
./configure
these are the last lines of the output
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a sed that does not truncate output... (cached) /bin/sed
checking which clang to use... system
checking for llvm-config... no
configure: error: llvm-config not found
checking for pet/Makefile... no
configure: error: configure in pet/ failed
It doesn't find the clang even though it's installed and it's the 3.4 version.
I tried with a llvm3.4, which i built locally
./configure --with-clang-prefix=/path_to_llvm3.4/build/
i get this :
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a sed that does not truncate output... (cached) /bin/sed
checking which clang to use... system
checking for llvm-config... no
checking for main in -lLLVM-3.4svn... no
checking clang/Basic/SourceLocation.h usability... no
checking clang/Basic/SourceLocation.h presence... no
checking for clang/Basic/SourceLocation.h... no
configure: error: clang header file not found
checking for pet/Makefile... no
configure: error: configure in pet/ failed
I hope that this explains the problem, which is that llvm-config and clang aren't being detected.
from pluto.
I actually meant the config.log in the pet directory. Could you paste the relevant lines from pet/config.log. That'll say exactly where exactly it was looking - it's of course clear it can't find it. Also, please don't use the SVN version, but instead the stable release. Do you have an llvm-config in your llvm build/bin?
from pluto.
Sorry, I didn't understand.
Here is the file :
config.log
from pluto.
It looks like you don't have the right libraries at the right place. From your config.log, it's looking for libLLVM-3.4svn.* in /home/tina/pfe/llvm-3.4/build/lib/.
configure:15638: gcc -o conftest -g -O2 -L/home/tina/pfe/llvm-3.4/build/lib -lrt -ldl -lpthread -lz conftest.c -lLLVM-3.4svn >&5
/usr/bin/ld: cannot find -lLLVM-3.4svn
collect2: error: ld returned 1 exit status
configure:15638: $? = 1
configure: failed program was:
What are the contents /home/tina/pfe/llvm-3.4/build/lib/? Could you also let me know the output when you run:
$ /home/tina/pfe/llvm-3.4/build/bin/llvm-config --version --cxxflags
You could just try with the stable 3.4 version from llvm.org - it will work.
from pluto.
The contents of /home/tina/pfe/llvm-3.4/build/lib/ :
content.txt
The results of
./home/tina/pfe/llvm-3.4/build/bin/llvm-config --version --cxxflags
is
-I/home/tina/pfe/llvm-3.4/include -I/home/tina/pfe/llvm-3.4/build/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wnon-virtual-dtor -O3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
I've tried with a stable version I get the same result.
from pluto.
It's looking for the wrong library name suffix - you don't have anything libLLVM3.4svn* in your lib.
I've tried with a stable version I get the same result.
With the stable version, it's obviously not going to look for 3.4svn; so, you can't get the same result unless you did something wrong. (By the 3.4 stable version, I meant building from the sources here: http://releases.llvm.org/download.html#3.4
http://releases.llvm.org/3.4/clang-3.4.src.tar.gz, http://releases.llvm.org/3.4/llvm-3.4.src.tar.gz)
from pluto.
Hi Uday,
I managed to surpass the issue with FileCheck but now my new issue seems related to this one.
I could not find a solution based on the comments above.
Any help?
Attached you may find my config.log file
config.log
Thank you in advance,
George
from pluto.
Related Issues (20)
- Loop Unrolling and Scalar Replacement (Register-level Tiling) HOT 2
- [Only QUERY] Any plan to update Pluto for LLVM 18.x release? HOT 1
- Can I compile pluto without -fopenmp? HOT 2
- error running make (pet): invalid use of incomplete type 'class clang::Builtin::Context HOT 4
- Compilation error and solution HOT 4
- Diamond tiling helper function cone complement hyperplane doesn't have a GLPK path
- getting errors trying to parallelize my code HOT 1
- build candl error happend when make HOT 1
- difference between cut_smart and cut_conservative HOT 7
- What compiler can I use to compile pluto? HOT 15
- Fix build configuration to properly build test_libpluto and unit_tests
- OpenScop's scatter function semantics? HOT 1
- Error running make (on pet.lo) HOT 2
- while using "make -j4", the process fails. HOT 2
- Error when unrolling HOT 4
- Error in building pluto dev version HOT 1
- problem in configure and make HOT 2
- A starter Dockerfile for pluto
- build failing for cloog-isl with error message: /usr/bin/texi2dvi: pdfetex exited with bad status, quitting. make[3]: *** [Makefile:2301: doc/cloog.pdf] Error 1 HOT 3
- pet build error: /usr/include/c++/9/bits/stl_tree.h:785:8: error: static assertion failed: comparison object must be invocable as const HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pluto.