Coder Social home page Coder Social logo

Configuration fails on PET about pluto HOT 10 CLOSED

dpotop avatar dpotop commented on June 1, 2024
Configuration fails on PET

from pluto.

Comments (10)

bondhugula avatar bondhugula commented on June 1, 2024

But clang/Basic/SourceLocation.h has always been part of clang.
https://github.com/llvm/llvm-project/blob/master/clang/include/clang/Basic/SourceLocation.h

It looks like you don't have all the development files necessary installed. How did you install the clang headers and libraries? (from sources?)

What issue did you run into with openscop?

from pluto.

dpotop avatar dpotop commented on June 1, 2024

Ok, I had forgot to install clang-devel (I had only installed llvm clang, and llvm-devel).
Installing clang-devel solved a lot of configuration problems. Now, configuration runs
smoothly, but compilation blocks on pet.

Here are:

The version for all LLVM/CLANG packages is 9.0.0 (Fedora 9.0.0-1.fc31).

from pluto.

bondhugula avatar bondhugula commented on June 1, 2024

You may want to just get pet working separately first. The best place to post that would be on [email protected] - for a faster response. (isl-dev is for both pet and isl issues.) The version of pet included in pluto should work with llvm/clang 9.0.0. Make sure your pet submodule is up to date.

from pluto.

dpotop avatar dpotop commented on June 1, 2024

Just to be sure that I understand correctly:

  1. I did not obtain pet separately. I simply called "git submodule init" and "git submodule update" inside pluto prior to calling autoconf.sh. Can I assume I have the last version?
  2. Should I try to reconfigure and compile pet separately, or just post the whole problem there?

from pluto.

bondhugula avatar bondhugula commented on June 1, 2024

Yes, that's right - you could just switch to the pet directory in pluto, and try with:

$ ./configure
$ make

Reproduce the issue, and post it on isl-dev with the pet version (git describe in the pet dir will provide you that - it should be pet-0.11.3-5-g2911db3.

from pluto.

dpotop avatar dpotop commented on June 1, 2024

That's weird. Calling "git describe" in the pet folder gives:

fatal: No names found, cannot describe anything.

And yet, I did nothing to put pet there except "git submodule init" and "git submodule update"
The same is true for the following sub-folders: candl, isl, pet, piplib,
but not for: clan, cloog, openscop, orio.
Folder polylib gives a different message (is it part of pluto?).

Maybe this is the problem.

BTW: with your help, I finally managed to compile MLIR in the version needed to run the tutorial (the hop branch of your fork). Thanks for the help.

from pluto.

bondhugula avatar bondhugula commented on June 1, 2024

Which pet commit are you at in that directory? (git show)

from pluto.

bondhugula avatar bondhugula commented on June 1, 2024

Could you please pull again and update your pet submodule? (There was an inadvertent update to the pet submodule a couple of days back, which I just fixed now.)
$ git pull
$ git submodule update pet

from pluto.

dpotop avatar dpotop commented on June 1, 2024

Yes! It compiles. Thank you.

from pluto.

bondhugula avatar bondhugula commented on June 1, 2024

Thank you for your patience and persistence here!

from pluto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.