Comments (7)
fixed llvm issue but still get the same error with pluto
from pluto.
It looks like pet is being compiled with the wrong version of Clang headers, or there is a mismatch between the version it was compiled against and the one it's being linked to. Could you post what flags you used with configure and the output of your
llvm-config --version
and
cat pet/config.log | grep llvm
from pluto.
I can only do that tomorrow, because I had these errors the pc at my workplace.
Also i tried to install on my own laptop and got error even at configure time:
checking clang/Basic/DiagnosticOptions.h usability... yes
checking clang/Basic/DiagnosticOptions.h presence... yes
checking for clang/Basic/DiagnosticOptions.h... yes
checking for clang/Lex/HeaderSearchOptions.h... yes
checking for clang/Lex/PreprocessorOptions.h... yes
checking for main in -lclangEdit... yes
configure: isl sources in /home/dszabo/pluto-distmem/pluto/isl
checking which isl to use... build
./configure: line 16688: syntax error near unexpected token ISL,' ./configure: line 16688:
PKG_CHECK_MODULES(ISL, isl)'
checking for pet/Makefile... no
configure: error: configure in pet/ failed
I use no flags for ./configure.
llvm-config --version
3.4svn
cat pet/config.log | grep llvm
configure:16112: checking for llvm-config
configure:16128: found /usr/local/bin/llvm-config
ac_cv_prog_llvm_config_found=yes
llvm_config_found='yes'
Maybe I should make a different issue for this? I had this same configure error at my workplace too, but somehow it got resolved. Maybe because I also installed other versions of llvm/clang too or I dont know, but I think the problem lies here then.
I downloaded clang and llvm tar from llvm website and built them with cmake, following these steps:
https://llvm.org/docs/CMake.html
from pluto.
Ok so for my original problem (which is in the first comment)
I didn't used any configure flag.
llvm-config --version output:
3.4svn
cat pet/config.log | grep llvm output:
configure:16127: checking for llvm-config
configure:16143: found /usr/local/bin/llvm-config
ac_cv_prog_llvm_config_found=yes
llvm_config_found='yes'
Seems the same for me.
from pluto.
I put -fPIC for CFLAGS and -shared to LDFLAGS for all subdiractories Makefile and now it installed and seems working.
from pluto.
llvm-config --version output:
3.4svn
It looks like the version being compiled against isn't the version you downloaded and built. Did you build an SVN version or a stable one? If you downloaded and built clang and llvm from the released 3.4 version sources, that should definitely work. Did you install those in /usr/local/?
from pluto.
Pluto will now work with the latest version of Clang (version 3.4 is no longer needed); also, the pet branch has been merged into the master. Please reopen if you face this issue with the current master.
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.