Skip to content

Revert "Merge pull request #39723 from d-ronnqvist/add-docc-in-build-script" #40032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,6 @@ install-libicu
install-prefix=/usr
install-libcxx
install-sourcekit-lsp
install-swiftdocc
build-swift-static-stdlib
build-swift-static-sdk-overlay
build-swift-stdlib-unittest-extra
Expand Down Expand Up @@ -858,7 +857,6 @@ foundation
libdispatch
indexstore-db
sourcekit-lsp
swiftdocc
lit-args=-v --time-tests

# rdar://problem/31454823
Expand All @@ -882,7 +880,6 @@ skip-test-playgroundsupport
skip-test-libicu
skip-test-indexstore-db
skip-test-sourcekit-lsp
skip-test-swiftdocc

# Linux package with out test
[preset: buildbot_linux,no_test]
Expand Down Expand Up @@ -1227,7 +1224,6 @@ playgroundsupport
libcxx
indexstore-db
sourcekit-lsp
swiftdocc

# Build concurrency back-deployment binaries
back-deploy-concurrency
Expand Down Expand Up @@ -1277,7 +1273,6 @@ install-playgroundsupport
install-libcxx
install-sourcekit-lsp
install-back-deploy-concurrency
install-swiftdocc

install-destdir=%(install_destdir)s

Expand Down Expand Up @@ -1385,7 +1380,6 @@ skip-test-playgroundsupport
skip-test-swiftsyntax
skip-test-skstresstester
skip-test-swiftevolve
skip-test-swiftdocc

[preset: buildbot_osx_package,no_assertions,no_test,use_os_runtime]
mixin-preset=
Expand Down Expand Up @@ -1420,7 +1414,6 @@ skip-test-playgroundsupport
skip-test-swiftsyntax
skip-test-skstresstester
skip-test-swiftevolve
skip-test-swiftdocc

# macOS package with out test
[preset: buildbot_osx_package,no_test]
Expand Down Expand Up @@ -1565,7 +1558,6 @@ swiftpm
# swift-inspect
swift-driver
swiftsyntax
swiftdocc

# Don't generate the SwiftSyntax gyb files. Instead verify that up-to-date ones
# are checked in.
Expand All @@ -1580,7 +1572,6 @@ install-llbuild
install-swiftpm
install-swift-driver
install-libcxx
install-swiftdocc

# Build the stress tester and SwiftEvolve
skstresstester
Expand Down
7 changes: 0 additions & 7 deletions utils/build_swift/build_swift/driver_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ def _apply_default_arguments(args):
args.test_swiftformat = False
args.test_swiftevolve = False
args.test_toolchainbenchmarks = False
args.test_swiftdocc = False

# --test implies --test-early-swift-driver
# (unless explicitly skipped with `--skip-test-early-swift-driver`)
Expand Down Expand Up @@ -633,8 +632,6 @@ def create_argument_parser():

option(['--swift-driver'], toggle_true('build_swift_driver'),
help='build swift-driver')
option(['--swiftdocc'], toggle_true('build_swiftdocc'),
help='build Swift DocC')

option(['--skip-early-swift-driver'], toggle_false('build_early_swift_driver'),
help='skip building the early swift-driver')
Expand Down Expand Up @@ -663,8 +660,6 @@ def create_argument_parser():
help='install new Swift driver')
option(['--install-swiftevolve'], toggle_true('install_swiftevolve'),
help='install SwiftEvolve')
option(['--install-swiftdocc'], toggle_true('install_swiftdocc'),
help='install Swift DocC')
option(['--toolchain-benchmarks'],
toggle_true('build_toolchainbenchmarks'),
help='build Swift Benchmarks using swiftpm against the just built '
Expand Down Expand Up @@ -1124,8 +1119,6 @@ def create_argument_parser():
option('--skip-test-swift-inspect',
toggle_false('test_swift_inspect'),
help='skip testing swift_inspect')
option('--skip-test-swiftdocc', toggle_false('test_swiftdocc'),
help='skip testing swift-docc')

# -------------------------------------------------------------------------
in_group('Build settings specific for LLVM')
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions utils/build_swift/tests/expected_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,13 @@
'build_skstresstester': False,
'build_swiftformat': False,
'build_swiftevolve': False,
'build_swiftdocc': False,
'build_indexstoredb': False,
'test_indexstoredb_sanitize_all': False,
'test_sourcekitlsp_sanitize_all': False,
'build_sourcekitlsp': False,
'install_swiftpm': False,
'install_swiftsyntax': False,
'install_swift_driver': False,
'install_swiftdocc': False,
'swiftsyntax_verify_generated_files': False,
'install_playgroundsupport': False,
'install_sourcekitlsp': False,
Expand Down Expand Up @@ -264,7 +262,6 @@
'test_skstresstester': False,
'test_swiftformat': False,
'test_swiftevolve': False,
'test_swiftdocc': False,
'test_toolchainbenchmarks': False,
'tvos': False,
'tvos_all': False,
Expand Down Expand Up @@ -512,7 +509,6 @@ class BuildScriptImplOption(_BaseOption):
SetTrueOption('--skstresstester', dest='build_skstresstester'),
SetTrueOption('--swiftformat', dest='build_swiftformat'),
SetTrueOption('--swiftevolve', dest='build_swiftevolve'),
SetTrueOption('--swiftdocc', dest='build_swiftdocc'),
SetTrueOption('-B', dest='benchmark'),
SetTrueOption('-S', dest='skip_build'),
SetTrueOption('-b', dest='build_llbuild'),
Expand Down Expand Up @@ -567,7 +563,6 @@ class BuildScriptImplOption(_BaseOption):
EnableOption('--install-sourcekit-lsp', dest='install_sourcekitlsp'),
EnableOption('--install-skstresstester', dest='install_skstresstester'),
EnableOption('--install-swiftevolve', dest='install_swiftevolve'),
EnableOption('--install-swiftdocc', dest='install_swiftdocc'),
EnableOption('--toolchain-benchmarks', dest='build_toolchainbenchmarks'),
EnableOption('--swift-inspect', dest='build_swift_inspect'),
EnableOption('--tsan-libdispatch-test'),
Expand Down Expand Up @@ -649,7 +644,6 @@ class BuildScriptImplOption(_BaseOption):
DisableOption('--skip-test-skstresstester', dest='test_skstresstester'),
DisableOption('--skip-test-swiftformat', dest='test_swiftformat'),
DisableOption('--skip-test-swiftevolve', dest='test_swiftevolve'),
DisableOption('--skip-test-swiftdocc', dest='test_swiftdocc'),
DisableOption('--skip-test-toolchain-benchmarks',
dest='test_toolchainbenchmarks'),
DisableOption('--skip-test-swift-inspect',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,6 @@ def compute_product_pipelines(self):
is_enabled=self.args.build_swift_inspect)
builder.add_product(products.TSanLibDispatch,
is_enabled=self.args.tsan_libdispatch_test)
builder.add_product(products.SwiftDocC,
is_enabled=self.args.build_swiftdocc)
builder.add_product(products.SwiftDocCRender,
is_enabled=self.args.install_swiftdocc)

# Keep SwiftDriver at last.
# swift-driver's integration with the build scripts is not fully
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
from .skstresstester import SKStressTester
from .sourcekitlsp import SourceKitLSP
from .swift import Swift
from .swiftdocc import SwiftDocC
from .swiftdoccrender import SwiftDocCRender
from .swiftdriver import SwiftDriver
from .swiftevolve import SwiftEvolve
from .swiftformat import SwiftFormat
Expand Down Expand Up @@ -65,6 +63,4 @@
'SourceKitLSP',
'Benchmarks',
'TSanLibDispatch',
'SwiftDocC',
'SwiftDocCRender'
]
116 changes: 0 additions & 116 deletions utils/swift_build_support/swift_build_support/products/swiftdocc.py

This file was deleted.

This file was deleted.

Loading