diff --git a/DEPS b/DEPS index 5cc10311009..51c8024d096 100644 --- a/DEPS +++ b/DEPS @@ -117,8 +117,7 @@ deps = { 'third_party/llvm-libc/src': Var('chromium_url') + '/external/github.com/llvm/llvm-project/libc.git' + '@' + '01f1fb50a55d022e351f52fb71a642547eb5c080', 'third_party/pthreadpool/src': Var('chromium_url') + '/external/github.com/google/pthreadpool.git' + '@' + 'a56dcd79c699366e7ac6466792c3025883ff7704', - 'third_party/fxdiv/src': - Var('chromium_url') + '/external/github.com/Maratyszcza/FXdiv.git' + '@' + '63058eff77e11aa15bf531df5dd34395ec3017c8', + 'third_party/cpuinfo/src': Var('chromium_url') + '/external/github.com/pytorch/cpuinfo.git' + '@' + '3681f0ce1446167d01dfe125d6db96ba2ac31c3c', 'third_party/libunwind/src': diff --git a/MODULE.bazel b/MODULE.bazel index c5580b78e88..c30a025002e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -64,13 +64,7 @@ http_archive( urls = ["https://github.com/google/benchmark/archive/7da00e8f6763d6e8c284d172c9cfcc5ae0ce9b7a.zip"], ) # LINT.ThenChange(cmake/DownloadGoogleBenchmark.cmake) -# FXdiv library, used for repeated integer division by the same factor -http_archive( - name = "FXdiv", - sha256 = "ab7dfb08829bee33dca38405d647868fb214ac685e379ec7ef2bebcd234cd44d", - strip_prefix = "FXdiv-b408327ac2a15ec3e43352421954f5b1967701d1", - urls = ["https://github.com/Maratyszcza/FXdiv/archive/b408327ac2a15ec3e43352421954f5b1967701d1.zip"], -) + diff --git a/third_party/fxdiv/BUILD.gn b/third_party/fxdiv/BUILD.gn deleted file mode 100644 index c61945a36ae..00000000000 --- a/third_party/fxdiv/BUILD.gn +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2022 The Chromium Authors -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# (XNNPACK): This file comes from Chromium. - -config("fxdiv_config") { - include_dirs = [ "src/include" ] -} - -source_set("fxdiv") { - public = [ "src/include/fxdiv.h" ] - - sources = [] - - configs -= [ "//build/config/compiler:chromium_code" ] - configs += [ "//build/config/compiler:no_chromium_code" ] - - public_configs = [ ":fxdiv_config" ] -} diff --git a/third_party/fxdiv/README.xnnpack b/third_party/fxdiv/README.xnnpack deleted file mode 100644 index 270e6c7b84a..00000000000 --- a/third_party/fxdiv/README.xnnpack +++ /dev/null @@ -1,14 +0,0 @@ -Name: FXDiv -Short Name: fxdiv -URL: https://github.com/Maratyszcza/FXdiv -Version: N/A -Revision: 63058eff77e11aa15bf531df5dd34395ec3017c8 -Date: 2022-04-22 -Update Mechanism: Manual -License: MIT -License File: src/LICENSE -Security Critical: Yes -Shipped: no - -Description: -Header-only library for division via fixed-point multiplication by inverse. \ No newline at end of file diff --git a/third_party/pthreadpool/BUILD.gn b/third_party/pthreadpool/BUILD.gn index 18b19851606..a01331e12f1 100644 --- a/third_party/pthreadpool/BUILD.gn +++ b/third_party/pthreadpool/BUILD.gn @@ -48,7 +48,6 @@ if (build_with_chromium) { deps = [ "//base", - "//third_party/fxdiv", ] } @@ -101,5 +100,5 @@ source_set("pthreadpool_standalone") { public_configs = [ ":pthreadpool_standalone_config" ] - deps = [ "//third_party/fxdiv" ] + deps = [] }