Commit Graph

13 Commits

Author SHA1 Message Date
William D. Irons
c639437db1 Fix hwloc build for ppc64le
This commit: https://github.com/tensorflow/tensorflow/commit/41df105#diff-6fb2e55075204b47da0460ea2abbc32f
broke the CPU unit test build for ppc64le. The compiler error was:

.../libexternal_Shwloc_Slibhwloc.so: error: undefined reference to 'hwloc_linux_component'
.../libexternal_Shwloc_Slibhwloc.so: error: undefined reference to 'hwloc_linuxio_component'

These methods are defined in topology-linux.c, adding the necessary bazel select statement
so they are built during a ppc64le build.
2020-01-06 20:15:42 +00:00
George Grzegorz Pawelczak
41df105ff5 Fix compilation of hwloc 2019-12-11 16:50:14 +00:00
Jacques Pienaar
58d847b673 Avoid using kwarg arguments in BUILD file.
Avoids the following error:
hwloc/BUILD.bazel:48:53: **kwargs arguments are not allowed in BUILD files. Pass the arguments in explicitly.

PiperOrigin-RevId: 254756341
2019-06-24 08:11:00 -07:00
TensorFlower Gardener
3d0913740b Merge pull request from arrowd:master
PiperOrigin-RevId: 254434635
2019-06-21 11:54:36 -07:00
Gleb Popov
40207666f1 Add cases for FreeBSD in third_party/hwloc/BUILD.bazel 2019-06-20 16:07:56 +04:00
A. Unique TensorFlower
21425b4121 Fix incompatibility with future Bazel
The + operator on dictionaries will be removed
See https://github.com/bazelbuild/bazel/issues/6461

PiperOrigin-RevId: 236656561
2019-03-04 08:30:08 -08:00
TensorFlower Gardener
fc5a98c8e4 Merge pull request from wdirons:fix_hwloc_build_for_non_x86_platforms
PiperOrigin-RevId: 236378802
2019-03-01 14:55:42 -08:00
William D. Irons
2290c64967 Fix hwloc build for non x86 platforms
Commit a6bf9c8476 yesterday triggered the building of hwloc in TensorFlow.
While many platforms (windows, mac, android) were excluded from building
hwloc, others like ppc64le and raspberry pi still tried to build hwloc.

This fails because hwloc references x86 specific files. Instead of excluding
those platforms from building with hwloc, lets add conditions to only include
the x86 files during a build on the x86 platform. This might enable the
other platforms to still take advantage of hwloc function.
2019-02-27 22:18:12 +00:00
Koan-Sin Tan
d624b1d75a remove HAVE_XLOCALE_H in hwloc BUILD.bazel
xlocale.h is not a standard header and is not shipped with newer
glibc
2019-02-27 13:38:47 +08:00
Gunhan Gulsoy
a57b2f36e9 Fix the license file name in hwloc archive.
PiperOrigin-RevId: 235804290
2019-02-26 15:35:05 -08:00
Gunhan Gulsoy
c7fd42e2d5 Fixes for hwloc build files.
PiperOrigin-RevId: 232033559
2019-02-01 14:06:42 -08:00
Gunhan Gulsoy
b682bdd374 Add config file generation for linux to hwloc library build file
PiperOrigin-RevId: 230810209
2019-01-24 16:44:28 -08:00
Gunhan Gulsoy
040ee45aa8 Add hwloc dependency package to TF build
PiperOrigin-RevId: 225493211
2018-12-13 23:21:00 -08:00