opened
eduardinjo
username_0
**Docker:** tensorflow/tensorflow:custom-op-gpu-ubuntu14 and nightly
**manylinux1** and **TF<2.1** 
In configure changed tf version to **1.14.0**

When building custom-gpu op encountered error:
`ERROR: /working_dir/hdrnet/BUILD:47:1: undeclared inclusion(s) in rule '//hdrnet:python/ops/_hdrnet_ops.so':
this rule is missing dependency declarations for the following files included by 'hdrnet/cc/bilateral_slice.cc':
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdarg.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdbool.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/x86intrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/ia32intrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/mmintrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/xmmintrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/mm_malloc.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/immintrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/fxsrintrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/adxintrin.h'
  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/float.h'
Target //hdrnet:python/ops/_hdrnet_ops.so failed to build
INFO: Elapsed time: 21.516s, Critical Path: 14.68s
INFO: 4 processes: 4 local.
FAILED: Build did NOT complete successfully
`

Build works when using docker for manylinux2010 and TF>2.1
Missing dependency declarations for gcc when building against manylinux1
issue
created
yifeif
username_1
@username_0 do you mind pasting in your .bazelrc for your manylinux1 and TF<2.1 environment? Thank you.
comment