-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make readme great again #41
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvements!
I like the feature list of course 😁
Found one mistake though that needs improvement.
README.md
Outdated
@@ -100,20 +130,20 @@ docker compose build | |||
docker compose run --rm util_caching | |||
``` | |||
|
|||
The library is installed in the Docker image under `/usr/local/include/util_caching/` and `/usr/local/lib/cmake/util_caching/`. | |||
The library is installed in the Docker image under `/usr/include/util_caching/` and `/usr/lib/cmake/util_caching/`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's probably not correct for the docker image, as we haven't set CMAKE_INSTALL_PREFIX
here (as we did in arbitration_graphs).
Thus, the install location of util_caching is different for
- a local install via cmake/make (as in our last docker stage)
→/usr/local/include/util_caching
- and a
.deb
archive install
→/usr/include/util_caching
I'd avoid forcing the install prefix in the CMakeLists.txt
, as was necessary for the arbitration_graph GUI…
We could set it in the Docker though:
RUN cmake -DCMAKE_INSTALL_PREFIX="/usr" .. && \
cmake --build . && \
cmake --install . && \
rm -rf /tmp/util_caching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. I thought it was just outdated because I have the .deb version installed locally. I don't think forcing another path is necessary. I corrected the path in 1988385.
1988385
to
636b89d
Compare
I just rebased on main and integrated the parts about the python bindings into the feature list and the usage documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 🐍
This tidies up the readme in the style we use in the arbitration_graphs repo.
This moves large parts of the existing readme into collapsible spoilers, adds shield.io badges, and a list of features.
#patch