Skip to content

Commit

Permalink
Merge pull request #3925 from bcressey/backport-device-plugin-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bcressey committed Apr 27, 2024
2 parents 3006230 + c2f1a90 commit 64049ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## Build Changes
* Update twoliter to v0.1.1 ([#3880], [#3900])
* Update ecs-gpu-init and amazon-ssm-agent builds for new SDK ([#3920], [#3921])
* Update ecs-gpu-init, amazon-ssm-agent, and nvidia-k8s-device-plugin builds for new SDK ([#3920], [#3921], [#3924])

[#3804]: https://github.com/bottlerocket-os/bottlerocket/pull/3804
[#3880]: https://github.com/bottlerocket-os/bottlerocket/pull/3880
Expand All @@ -23,6 +23,7 @@
[#3914]: https://github.com/bottlerocket-os/bottlerocket/pull/3914
[#3920]: https://github.com/bottlerocket-os/bottlerocket/pull/3920
[#3921]: https://github.com/bottlerocket-os/bottlerocket/pull/3921
[#3924]: https://github.com/bottlerocket-os/bottlerocket/pull/3924

# v1.19.4 (2024-04-06)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ BuildRequires: %{_cross_os}glibc-devel
%cross_go_configure %{goimport}
# We don't set `-Wl,-z,now`, because the binary uses lazy loading
# to load the NVIDIA libraries in the host
export CGO_LDFLAGS="-Wl,-z,relro,-export-dynamic"
export CGO_LDFLAGS="-Wl,-z,relro -Wl,--export-dynamic"
export GOLDFLAGS="-compressdwarf=false -linkmode=external -extldflags '${CGO_LDFLAGS}'"
go build -ldflags="${GOLDFLAGS}" -o nvidia-device-plugin ./cmd/nvidia-device-plugin/

%install
Expand Down

0 comments on commit 64049ba

Please sign in to comment.