Skip to content

Commit

Permalink
[vm] Remove traces of LLVM backend
Browse files Browse the repository at this point in the history
The code has been dead for quite some time.

TEST=ci

Change-Id: Iddcb63e14e9e4d95230f006ac05da64f444f0712
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/190024
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
  • Loading branch information
mraleph authored and commit-bot@chromium.org committed Mar 9, 2021
1 parent 0e12cdb commit fa12114
Show file tree
Hide file tree
Showing 29 changed files with 0 additions and 3,024 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
/*.vcxproj.user
*.stamp

# LLVM prebuilts
/third_party/llvm/include
/third_party/llvm/lib
/third_party/llvm/.versions

# Gyp generated files
*.xcodeproj
*.intermediate
Expand Down
18 changes: 0 additions & 18 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ group("default") {
testonly = true
}
deps = [ ":runtime" ]
if (defined(checkout_llvm) && checkout_llvm) {
deps += [ ":llvm_codegen" ]
}
}

group("most") {
Expand Down Expand Up @@ -117,21 +114,6 @@ group("analysis_server") {
deps = [ "utils/analysis_server" ]
}

group("check_llvm") {
if (defined(checkout_llvm) && checkout_llvm) {
deps = [ "runtime/llvm_codegen/test" ]
}
}

group("llvm_codegen") {
if (defined(checkout_llvm) && checkout_llvm) {
deps = [
"runtime/llvm_codegen/bit",
"runtime/llvm_codegen/codegen",
]
}
}

# This is the target that is built on the dart2js build bots.
# It must depend on anything that is required by the dart2js
# test suites.
Expand Down
18 changes: 0 additions & 18 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,10 @@ vars = {
"chrome_tag": "84",
"download_firefox": False,
"firefox_tag": "67",

# An LLVM backend needs LLVM binaries and headers. To avoid build time
# increases we can use prebuilts. We don't want to download this on every
# CQ/CI bot nor do we want the average Dart developer to incur that cost.
# So by default we will not download prebuilts.
"checkout_llvm": False,
"llvm_revision": "fe8bd96ebd6c490ea0b5c1fb342db2d7c393a109"
}

gclient_gn_args_file = Var("dart_root") + '/build/config/gclient_args.gni'
gclient_gn_args = [
'checkout_llvm'
]

deps = {
Expand Down Expand Up @@ -615,16 +607,6 @@ deps = {
],
"dep_type": "cipd",
},
Var("dart_root") + "/third_party/llvm": {
"packages": [
{
"package": "fuchsia/lib/llvm/${{platform}}",
"version": "git_revision:" + Var("llvm_revision"),
},
],
"condition": "checkout_llvm",
"dep_type": "cipd",
},
Var("dart_root") + "/third_party/browsers/chrome": {
"packages": [
{
Expand Down
3 changes: 0 additions & 3 deletions runtime/bin/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -897,9 +897,6 @@ executable("run_vm_tests") {
"..:libdart_precompiler",
"//third_party/zlib",
]
if (defined(checkout_llvm) && checkout_llvm) {
deps += [ "//runtime/llvm_codegen/bit:test" ]
}
include_dirs = [
"..",
"$target_gen_dir",
Expand Down
32 changes: 0 additions & 32 deletions runtime/llvm_codegen/bit/BUILD.gn

This file was deleted.

80 changes: 0 additions & 80 deletions runtime/llvm_codegen/bit/bit.h

This file was deleted.

122 changes: 0 additions & 122 deletions runtime/llvm_codegen/bit/main.cc

This file was deleted.

71 changes: 0 additions & 71 deletions runtime/llvm_codegen/bit/test.cc

This file was deleted.

Loading

0 comments on commit fa12114

Please sign in to comment.