Commit Graph

365 Commits

Author SHA1 Message Date
TensorFlower Gardener
adcfd3f69c Merge pull request #61809 from terryheo:use-ndk-r26
PiperOrigin-RevId: 565170354
2023-09-13 15:19:18 -07:00
Terry Heo
0caae80adf Update build rules to use Starlark-based repository rule 2023-09-07 10:59:08 -07:00
Terry Heo
81658fc94b Update configure.py to support NDK 25c 2023-09-06 14:08:45 -07:00
TensorFlower Gardener
9f66a76f1f Merge pull request #60189 from linux-on-ibm-z:enable_secure_grpc_on_s390x
PiperOrigin-RevId: 548570049
2023-07-16 21:04:27 -07:00
Kanglan Tang
704dddce91 Remove lld to fix GCS build breakage due to ld not found.
PiperOrigin-RevId: 540441442
2023-06-14 18:55:03 -07:00
Kanglan Tang
b29c46e541 Update configure.py to set Clang as the compiler for Linux GPU build
PiperOrigin-RevId: 540321339
2023-06-14 11:03:45 -07:00
Kanglan Tang
055e421c40 Update configure.py to set Clang as the compiler for Linux CPU build
PiperOrigin-RevId: 540301729
2023-06-14 10:03:41 -07:00
Michael Hudgins
6cb26fb673 Update configure.py to set Clang as the compiler for Linux CPU build
PiperOrigin-RevId: 537944155
2023-06-05 12:09:02 -07:00
Kanglan Tang
777dfc8b91 Update configure.py to set Clang as the compiler for Linux CPU build
PiperOrigin-RevId: 537923719
2023-06-05 10:59:56 -07:00
A. Unique TensorFlower
bdf72f5aab Removes the --flaky_test_attempts=2 flag from the test jobs.
PiperOrigin-RevId: 532340336
2023-05-15 23:09:03 -07:00
A. Unique TensorFlower
1d49c3844a Reduces --flaky_test_attempts from 3 to 2.
PiperOrigin-RevId: 530484947
2023-05-08 21:03:14 -07:00
Kanglan Tang
efc730166d Add -oss_excluded to TF build/test tag filters
Currently, `no_oss` is used to exclude a test from running in the official TF OSS test infrastructure. However, it is difficult to distinguish between temporary and permanent exclusions. For example, a test may be disabled temporarily if it is broken, or it may be designed to not run on OSS permanently. To address this issue, we introduce a new tag `oss_excluded` for platform exclusion design. `no_oss` will now be considered to disable broken tests, while `oss_excluded` will be used to permanently exclude a test from running on OSS.

PiperOrigin-RevId: 516372702
2023-03-13 17:54:07 -07:00
Kanglan Tang
1d379fd71c Add -windows_excluded to TF build/test tag filters
Currently, `no_windows` is used to exclude a test from running in the windows environment. However, it is difficult to distinguish between temporary and permanent exclusions. For example, a test may be disabled temporarily if it is broken, or it may be designed to not run on windows environment permanently. To address this issue, we introduce a new tag `windows_excluded` for platform exclusion design. `no_windows` will now be considered to disable broken tests, while `windows_excluded` will be used to permanently exclude a test from running on windows environment.

PiperOrigin-RevId: 515716934
2023-03-10 13:07:12 -08:00
Kanglan Tang
999ed30091 Add -mac_excluded to TF build/test tag filters
Currently, `no_mac` or `nomac` is used to exclude a test from running in the mac environment. However, it is difficult to distinguish between temporary and permanent exclusions. For example, a test may be disabled temporarily if it is broken, or it may be designed to not run on mac environment permanently. To address this issue, we introduce a new tag `mac_excluded` for platform exclusion design. `no_mac` or `nomac` will now be considered to disable broken tests, while `mac_excluded` will be used to permanently exclude a test from running on mac environment.

PiperOrigin-RevId: 515676485
2023-03-10 10:41:28 -08:00
Kun-Lu
6c23541ce7 Set system_lib as the default option for ssl on s390x
Signed-off-by: Kun-Lu <kun.lu@ibm.com>
2023-02-16 09:21:58 -05:00
Terry Heo
593bae33dc Update ANDROID_NDK_API_LEVEL default in configure.py
PiperOrigin-RevId: 506335783
2023-02-01 09:19:27 -08:00
TensorFlower Gardener
73ed7e985b Merge pull request #56913 from maxiwell:fix-configure-gold-pr
PiperOrigin-RevId: 498449818
2022-12-29 14:38:57 -08:00
TensorFlower Gardener
8d63ee9fae Merge pull request #56360 from njzjz:patch-1
PiperOrigin-RevId: 498391863
2022-12-29 08:28:47 -08:00
Quentin Khan
474619a7b4 Update TFLite supported Android NDK versions.
PiperOrigin-RevId: 491607428
2022-11-29 05:22:19 -08:00
TensorFlower Gardener
28b97bad94 Merge pull request #56762 from ROCmSoftwarePlatform:fix-upstream-rocm
PiperOrigin-RevId: 489405842
2022-11-18 00:37:05 -08:00
Jason Furmanek
3540299f4f [ROCM] Switch ROCm builds to use ROCm 5.2
-Switch ROCm builds to use ROCm5.2
	-Fix Tensorflow build failure with ROCm 5.2, due to new templates in rocmprim header
	-Changes related to hipsparse build failure fix.
	-Changes related to hipsolver/rocsolver build failure fix.
 	-Removing the setting of ROCBLAS_TENSILE_LIBPATH in configure.py
	-Update install_bazel script to match .bazelversion
2022-11-17 18:33:41 +00:00
TensorFlower Gardener
465d3aaf56 Merge pull request #58356 from Intel-tensorflow:bani/win_tf2.11_warn_onlycpu
PiperOrigin-RevId: 484832624
2022-10-30 00:45:48 -07:00
Banikumar Maiti (Intel)
ed3ba5632a Show warning for Windows GPU build 2022-10-28 10:33:15 -07:00
Maxiwell S. Garcia
704a7e70e4 ppc64le: set 'gold' linker in the configure.py to fix ppc build
The commit 3484416b49 removed the
'rules_cc_toolchains' call from the bazel configuration. After that,
the build process is calling 'lld' to link several binaries, causing
problems on ppc64le arch.

This patch set the 'gold' linker as default in the configure script.
2022-07-26 14:52:29 -05:00
Jinzhe Zeng
b3a8fdbcb7
resolve gcc_host_compiler_path in a symlink directory
Resolves a missing dependency declarations error, when gcc_host_compiler_path is in a symlink directory resolving to other directories.
2022-06-04 19:06:58 -04:00
TensorFlower Gardener
5547c09887 Merge pull request #55670 from maxiwell:eigen-enable-dynamic-dispatch
PiperOrigin-RevId: 451011359
2022-05-25 14:13:59 -07:00
Maxiwell S. Garcia
b3428b7e56 ppc64le: eigen: using the new flag to enable MMA dynamic dispatch if ld >= 2.35
Eigen removed the dynamic dispatch by default. Now, it's necessary to add
EIGEN_ALTIVEC_ENABLE_MMA_DYNAMIC_DISPATCH=1 to enable this feature if
the linker version is 2.35 or greater.

7b10795e39
591906477b
2022-05-19 13:27:18 -05:00
Mihai Maruseac
ed066a9c48 Delete unused set_host_c_compiler.
PiperOrigin-RevId: 448290346
2022-05-12 11:07:50 -07:00
Mihai Maruseac
9882ba6c93 Delete unused delete_host_cxx_compiler
PiperOrigin-RevId: 448113581
2022-05-11 16:49:19 -07:00
Mihai Maruseac
1d3055ba32 Delete unused is_cuda_compatible
PiperOrigin-RevId: 448107102
2022-05-11 16:13:19 -07:00
Mihai Maruseac
2105b3c93d Delete unused reformat_version_sequence.
PiperOrigin-RevId: 448082558
2022-05-11 14:19:02 -07:00
Mihai Maruseac
8161daae34 Remove unused sed_in_place.
PiperOrigin-RevId: 448048817
2022-05-11 11:54:40 -07:00
Mihai Maruseac
691aa14211 Remove unused function in configure.py
PiperOrigin-RevId: 448039384
2022-05-11 11:16:39 -07:00
Mihai Maruseac
4665c2b80f Remove min/max bounds on bazel version in configure.py.
These checks were useful when we used to set the bazel version in the CI scripts but now that we have `.bazelversion` synced in the repo any user using Bazelisk or a recent version of Bazel will automatically get the exact Bazel version that we are using. Hence, this step in `configure.py` is no longer needed.

Furthermore, we are working on completely removing the need to run `configure.py`, at least for the vast majority of users.

PiperOrigin-RevId: 448033791
2022-05-11 11:00:11 -07:00
Mihai Maruseac
c39f19c52a Use rolling release for Bazel.
Since TF is in the progress of migrating to `cc_shared_library`, we are stress testing Bazel and uncovering a large number of bugs. We are in the state where some TF builds are broken with cascading failures and there is a long wait until a new LTS Bazel release. So, we're switching to rolling releases in an attempt to fix the builds.

However, if this causes more failures than it resolves, we will need to return back to stable releases.

PiperOrigin-RevId: 445259819
2022-04-28 15:14:55 -07:00
Mihai Maruseac
94da9ab2f3
Update configure.py 2022-03-25 09:18:25 -07:00
gtiHibGele
b7224b48dc
Update configure.py
Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com>
2022-03-25 12:16:54 -04:00
gtiHibGele
8f34926a78
Update configure.py 2022-03-17 14:05:31 -04:00
gtiHibGele
068c90d5ce
Update Configure.py @55218
Update Configure.py @55218, Last commit failed at CICD for seemly unrelated issue. This patch is just to re run the same CICD and validate
2022-03-17 12:28:23 -04:00
TensorFlower Gardener
1f9f7b4fc1 Merge pull request #53864 from itmo153277:windows-trt
PiperOrigin-RevId: 428533377
Change-Id: I2b29c3c9919edfb46cbbc5382fd29d7647e63a60
2022-02-14 09:41:50 -08:00
Mihai Maruseac
7131c47acb Update cuda version in configure.py.
This is not actually used but to prevent confusion let's bring it up to date

PiperOrigin-RevId: 427769347
Change-Id: I1ebc7797a337b98135ee038bb8c5840c8c7c7b3c
2022-02-10 09:35:48 -08:00
Ivanov Viktor
4a96445808 Enable TensorRT on Windows 2022-02-01 19:44:10 +09:00
A. Unique TensorFlower
8871926b0a Updates TensorFlow Bazel version to the newly released version 5.0.0.
`.bazelversion` specifies the Bazel version that TensorFlow uses. This changelist updates the Bazel version from 4.2.2 to 5.0.0. It also updates the CI environment.

PiperOrigin-RevId: 424897733
Change-Id: Idd427ee8b1fdc8212211fb22c25989cb47350ab4
2022-01-28 10:24:17 -08:00
Deven Desai
d60a2090fd Pass HIP_PLATFORM to bazel build
This PR is to address the TF build failure reported in JIRA ticket:
http://ontrack-internal.amd.com/browse/SWDEV-241967

The valid set of values for the env var HIP_PLATFORM is being updated, and as a consequence `hcc` will no longer a valid value (staring with ROCm 3.7).
For ROCm 3.7, we will need to change the configure.py script such that the env var HIP_PLATFORM=amd is explicitly when invoked with TF_NEED_ROCM=1.

In the meantime (i.e. until we switch to ROCm 3.7), we need to provide a way for passing HIP_PLATFORM to bazel (to help QA in testing ROCm 3.7). This change provides that way.
If the HIP_PLATFORM env var is set in the shell that invokes the "configure.py" script, it will pass it through to bazel.
2022-01-20 13:17:04 -06:00
rui
9cd04f0ce7 build: bump bazel to 4.2.2 2021-12-08 22:10:07 -05:00
A. Unique TensorFlower
18a1dc0ba8 Upgrading Bazel to 4.2.1
PiperOrigin-RevId: 413661728
Change-Id: I9d66a199cea6a0754d321924f51421054107e577
2021-12-02 06:41:31 -08:00
A. Unique TensorFlower
1f19aea323 Updates TensorFlow's Bazel version to 4.0.0.
https://blog.bazel.build/2021/01/19/bazel-4-0.html

PiperOrigin-RevId: 413424007
Change-Id: Iab9246fd0985e27a255db9772d6c1a3c32b265b4
2021-12-01 08:37:52 -08:00
A. Unique TensorFlower
6fdb753000 Updates TensorFlow's Bazel version to 4.0.0.
https://blog.bazel.build/2021/01/19/bazel-4-0.html

PiperOrigin-RevId: 413219594
Change-Id: I7529703ef09099040a48042c896f88a584dc1d32
2021-11-30 12:53:11 -08:00
Itai Zukerman
87462bfac7 Removed "from __future__ import *" lines from Python code.
These are a holdover from the transition from Python 2.* to Python 3.*.

PiperOrigin-RevId: 399530502
Change-Id: I1c8b893fd7f5eeb5eb51b2e2c38c3b73ec5b9903
2021-09-28 14:37:05 -07:00
Cheney-Wang
61cd92116a Update max version of bazel supported by tensorflow to 4.99.0 2021-08-01 20:01:57 -07:00