Comments (3)
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.
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.
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)
- Clearer docs HOT 1
- Explore using ROOT for graph generation HOT 1
- Investigate multitree visualization strategy
- Generic compiler execution time measurement HOT 1
- Sciplot submodule? HOT 2
- cmake too new with conflicting requirements. HOT 4
- CMake Error: Could not read presets HOT 2
- Make prereq software more apparent HOT 3
- compare_by plotter: filenames too long for large symbols
- Fix compiler execution time measurement
- Review JOSS paper HOT 5
- Replace LLVM dependency with Boost
- Investigate (Microsoft) C++ Build Insights
- [PREDICATE] Allow selecting events with a given parent
- Fix AUR package dependencies
- GCC `-ftime-report` support HOT 1
- Optimization HOT 1
- Automated tests
- Single size benchmarks HOT 1
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 ctbench.