Skip to content

tensorflow1: disable sysctl.h in hwloc#107944

Merged
matthewbauer merged 1 commit intoNixOS:masterfrom
matthewbauer:tensorflow-no-sysctl
Jan 1, 2021
Merged

tensorflow1: disable sysctl.h in hwloc#107944
matthewbauer merged 1 commit intoNixOS:masterfrom
matthewbauer:tensorflow-no-sysctl

Conversation

@matthewbauer
Copy link
Copy Markdown
Member

We need to override tensorflow's hwloc configuration, since it forces
sysctl.h usage which is removed since glibc 2.31. This does not appear
to effect tensorflow2.

See also tensorflow/tensorflow#45861

Fixes #104801

Things done
  • Built on platform(s)
    • NixOS

We need to override tensorflow's hwloc configuration, since it forces
sysctl.h usage which is removed since glibc 2.31. This does not appear
to effect tensorflow2.

See also tensorflow/tensorflow#45861

Fixes NixOS#104801
@ofborg ofborg bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Dec 30, 2020
@ofborg ofborg bot requested a review from abbradar December 30, 2020 06:34
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 30, 2020
Copy link
Copy Markdown
Member

@Emantor Emantor left a comment

Choose a reason for hiding this comment

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

Makes sense to me, upstream does not seem to support 1.x builds any more.

@matthewbauer matthewbauer merged commit 299c95a into NixOS:master Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error building tensorflow-gpu

2 participants