Skip to content

Commit

Permalink
gen/nvml: add --export-dynamic linker flag
Browse files Browse the repository at this point in the history
Signed-off-by: braydonk <braydonk@google.com>
  • Loading branch information
braydonk committed Oct 3, 2023
1 parent 550ae98 commit b8d34ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gen/nvml/nvml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GENERATOR:
limitations under the License.
Includes: ["nvml.h"]
FlagGroups:
- {name: "LDFLAGS", flags: ["-Wl,--unresolved-symbols=ignore-in-object-files"]}
- {name: "LDFLAGS", flags: ["-Wl,--export-dynamic","-Wl,--unresolved-symbols=ignore-in-object-files"]}
- {name: "CFLAGS", flags: ["-DNVML_NO_UNVERSIONED_FUNC_DEFS=1"]}
PARSER:
SourcesPaths: ["nvml.h"]
Expand Down
2 changes: 1 addition & 1 deletion pkg/nvml/const.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/nvml/nvml.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8d34ba

Please sign in to comment.