Code Monkey home page Code Monkey logo

Comments (3)

JPenuchot avatar JPenuchot commented on June 13, 2024

Hello,

Is it possible to remove this LLVM dependency in favour of using the C++ STL instead?

The LLVM can't be dropped so easily as the CLI code relies heavily on LLVM's CommandLine support library, which doesn't have any equivalent in the STL. It is also required for symbol demangling in the compare_by plotter.

If not, is it possible to make the LLVM linking mechanism more robust?

I'm not sure what you mean by more robust? The find_package command is called with the REQUIRED tag (here: https://github.com/JPenuchot/ctbench/blob/main/cmake/dependencies.cmake) and the grapher target is being linked against the export target exposed by LLVM (here: https://github.com/JPenuchot/ctbench/blob/main/grapher/cmake/grapher-target.cmake). I'm very surprised that CMake didn't catch any error and I'm suspecting that Ubuntu's way of splitting packages might be responsible for that.

It seems like most of your issues are due to the project not being built on Ubuntu as I use Arch for development, so I will likely set up an additional GitHub Action to check that ctbench compiles well on a recent Ubuntu system. I'll investigate that next week and come back to you, thanks for bringing that up.

from ctbench.

JPenuchot avatar JPenuchot commented on June 13, 2024

Hello, this issue was not encountered on the Ubuntu 23.04 CI and might be related to a missing package on your system, maybe libllvm15 or llvm-dev? I'll be waiting for your feedback.

from ctbench.

JPenuchot avatar JPenuchot commented on June 13, 2024

I'm closing the issue as it was resolved for Ubuntu 23.04, feel free to reopen if I missed something.

from ctbench.

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.