Skip to content
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

Move development directly into pkg/nvml instead of gen/nvml #109

Merged
merged 6 commits into from
Apr 3, 2024

Conversation

klueska
Copy link
Contributor

@klueska klueska commented Apr 3, 2024

Fixes: #97
Closes: #98

klueska added 5 commits April 3, 2024 13:00
Signed-off-by: Kevin Klues <[email protected]>
This removes the following warning during build:

docker: [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest
version 2, schema 1 support is disabled by default and will be removed in an
upcoming release. Suggest the author of docker.io/stedolan/jq:latest to upgrade
the image to the OCI Format or Docker Image manifest v2, schema 2. More
information at https://docs.docker.com/go/deprecated-image-specs/.

Signed-off-by: Kevin Klues <[email protected]>
Going forward, development will happen directly in pkg/nvml

Signed-off-by: Kevin Klues <[email protected]>
@klueska klueska requested a review from elezar April 3, 2024 13:02
Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment, but it's really not a blocker.

@@ -139,12 +139,11 @@ bindings: .create-bindings .strip-autogen-comment .strip-nvml-h-linenumber
.create-bindings: $(PKG_BINDINGS_DIR)/nvml.h $(SOURCES) | $(PKG_BINDINGS_DIR)
cp $(GEN_BINDINGS_DIR)/nvml.yml $(PKG_BINDINGS_DIR)
c-for-go -out $(PKG_DIR) $(PKG_BINDINGS_DIR)/nvml.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Instead of copying the yml file in the previous step, could we specify $(GEN_BINDINGS_DIR)/nvml.yml as input here? Then we also wouldn't need to remove it later?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I do that I get an incorrect pkg/types_gen.so file that gets generated. It's unclear why this is the case, but the fact that it doesn't "just work" when simplifying this means that it likely warrants a new PR to investigate.

@klueska klueska merged commit e2da5fa into NVIDIA:main Apr 3, 2024
4 checks passed
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.

Development workflow in ./gen/nvml
2 participants