Skip to content

Commit c96e746

Browse files
Remove other references to absl dep
1 parent 85cc875 commit c96e746

File tree

5 files changed

+3
-14
lines changed

5 files changed

+3
-14
lines changed

llvm/utils/mlgo-utils/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ name = "mlgo"
77
description = "Tooling for ML in LLVM"
88
readme = "README.md"
99
requires-python = ">=3.8,<3.11"
10-
dependencies = [
11-
"absl-py>=1.0.0"
12-
]
1310
dynamic = ["version"]
1411
license = {text = "Apache-2.0 WITH LLVM-exception"}
1512
classifiers = [

llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, absl, system-linux
1+
# REQUIRES: python-38, system-linux
22

33
## Testing that the combine_trainig_corpus script works as expected when
44
## invoked.

llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, absl, system-linux
1+
# REQUIRES: python-38, system-linux
22

33
## Test that invoking the extract_ir script work as expected.
44

llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, absl, system-linux
1+
# REQUIRES: python-38, system-linux
22

33
## Testing that the make_corpus script works as expected when invoked.
44

llvm/utils/mlgo-utils/tests/lit.local.cfg

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,3 @@ import sys
44
# the entire project has been bumped to 3.8.
55
if sys.version_info > (3,8):
66
config.available_features.add("python-38")
7-
8-
# TODO(boomanaiden154): Remove this flag once the scripts are converted to
9-
# not use absl anymore.
10-
try:
11-
import absl
12-
config.available_features.add("absl")
13-
except:
14-
pass

0 commit comments

Comments
 (0)