Skip to content

Move to C++17 and fix Status call #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Keeper-of-the-Keys
Copy link

This fixes diffvg building because:

  • tensorflow refuses to build with c++11
  • Status::OK() was removed and now Status() needs to be used.

With these changes diffvg builds for CPU on my system (AMD), I'm also trying to get diffvg to build with ROCm/HIP.

Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <[email protected]>
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <[email protected]>
@Keeper-of-the-Keys
Copy link
Author

It is likely that using c++20 or newer is also possible, I trial and error-ed versions going up until it built, c++14 did not compile successfully even though it supposedly works with tensorflow.

System - Ubuntu 24.10
CPU/GPU - AMD Ryzen 8845HS / 780M
RAM - 128GB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant