10
10
#
11
11
# ----------------------------------------------------------------------------
12
12
13
- import os
14
-
15
13
from . import skstresstester
16
- from .. import shell
17
14
18
15
19
16
class SwiftEvolve (skstresstester .SKStressTester ):
@@ -25,39 +22,9 @@ def product_source_name(cls):
25
22
"""
26
23
return "swift-stress-tester"
27
24
28
- @classmethod
29
- def is_swiftpm_unified_build_product (cls ):
30
- return False
31
-
32
25
def package_name (self ):
33
26
return 'SwiftEvolve'
34
27
35
- # Copy of the build-script-helper invocation without the multiroot data
36
- # file. Remove again once SwiftEvolve also builds in the unified build.
37
- def run_build_script_helper (self , action , additional_params = []):
38
- script_path = os .path .join (
39
- self .source_dir , 'build-script-helper.py' )
40
-
41
- configuration = 'release' if self .is_release () else 'debug'
42
-
43
- helper_cmd = [
44
- script_path ,
45
- action ,
46
- '--package-dir' , self .package_name (),
47
- '--toolchain' , self .install_toolchain_path (),
48
- '--config' , configuration ,
49
- '--build-dir' , self .build_dir ,
50
- # There might have been a Package.resolved created by other builds
51
- # or by the package being opened using Xcode. Discard that and
52
- # reset the dependencies to be local.
53
- '--update'
54
- ]
55
- if self .args .verbose_build :
56
- helper_cmd .append ('--verbose' )
57
- helper_cmd .extend (additional_params )
58
-
59
- shell .call (helper_cmd )
60
-
61
28
# Inherit the entire build configuration from the SourceKit stress tester
62
29
63
30
def should_build (self , host_target ):
0 commit comments