Skip to content

Commit 545b35d

Browse files
authored
Merge pull request #953 from swiftlang/t/actioncache
[llbuild3] Cleanup and Implement action cache support
2 parents da9efe6 + 9fdf05c commit 545b35d

File tree

2,563 files changed

+12447
-830736
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,563 files changed

+12447
-830736
lines changed

LICENSE.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ licenses, and/or restrictions:
222222

223223
Program Directory
224224
------- ---------
225-
Google Test llbuild/utils/unittest/googletest
226-
LLVM llbuild/lib/llvm, llbuild/include/llvm
225+
BLAKE3 thirdparty/BLAKE3
227226
CMake cmake/modules/FindSQLite3.cmake
227+
LLVM llbuild/lib/llvm, llbuild/include/llvm
228+
Google Protobuf thirdparty/protobuf
229+
Google Test llbuild/utils/unittest/googletest
230+
Swift Protobuf thridparty/swift-protobuf
231+
result.hpp products/llbuild3/Result.hpp
232+

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Helper makefile for generating Tritium protobuf files
1+
# Helper makefile for generating llbuild3 protobuf files
22

33
.PHONY: generate
44
generate: generate-protos
@@ -15,7 +15,7 @@ generate-protos: proto-toolchain
1515
--swift_out=src \
1616
--swift_opt=Visibility=Public \
1717
--swift_opt=ProtoPathModuleMappings=src/module_map.asciipb \
18-
$$(find src -name \*.proto)
18+
$$(find src -name \*.proto -not -name \*Internal\*)
1919

2020
.PHONY: proto-toolchain
2121
proto-toolchain:

README.tritium.md renamed to README.llbuild3.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tritium — llbuild3
1+
# llbuild3
22

33
## Objectives
44

@@ -18,7 +18,7 @@
1818

1919
## API Overview — Ergonomics
2020

21-
Tritium will incorporate concepts from llbuild1, llbuild2, and llbuild2fx. The constructs are intended to enable a separation of the items that can be produced (Artifacts) from the computations that can produce them (Rules/Tasks), addressing an expression challenge that exists today in llbuild2fx rule definition.
21+
llbuild3 will incorporate concepts from llbuild1, llbuild2, and llbuild2fx. The constructs are intended to enable a separation of the items that can be produced (Artifacts) from the computations that can produce them (Rules/Tasks), addressing an expression challenge that exists today in llbuild2fx rule definition.
2222

2323
### Dynamic Graph Definition
2424

@@ -53,7 +53,7 @@ Tritium will incorporate concepts from llbuild1, llbuild2, and llbuild2fx. The
5353
* Build
5454
* Outstanding, in-progress request to produce a specific artifact from the overall build namespace
5555

56-
![Tritium Classes](./docs/tritium.jpg)
56+
![llbuild3 Classes](./docs/llbuild3.jpg)
5757

5858
### Engine Components
5959

@@ -111,8 +111,8 @@ Next steps
111111
Code Structure
112112

113113
* Framework Headers
114-
* products/Tritium
114+
* products/llbuild3
115115
* Framework Sources
116-
* src/tritium
116+
* src/llbuild3
117117
* Unit Tests
118-
* unittests/TritiumCoreTests
118+
* unittests/llbuild3CoreTests

Xcode/Configs/TritiumCommon.xcconfig renamed to Xcode/Configs/llbuild3Common.xcconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
TRITIUM_INSTALL_BASE_PATH = $(TRITIUM_INSTALL_DIR:default=$(LOCAL_LIBRARY_DIR))
14-
TRITIUM_FRAMEWORKS_INSTALL_DIR = $(TRITIUM_INSTALL_BASE_PATH)/Frameworks
13+
LLBUILD3_INSTALL_BASE_PATH = $(LLBUILD3_INSTALL_DIR:default=$(LOCAL_LIBRARY_DIR))
14+
LLBUILD3_FRAMEWORKS_INSTALL_DIR = $(LLBUILD3_INSTALL_BASE_PATH)/Frameworks
1515

1616
// Set the default product name.
1717
PRODUCT_NAME = $(TARGET_NAME)
@@ -69,4 +69,4 @@ CODE_SIGN_ENTITLEMENTS = $(LLBUILD_CODE_SIGN_ENTITLEMENTS__producttype_eq_$(PROD
6969
LLBUILD_CODE_SIGN_ENTITLEMENTS__producttype_eq_com_apple_product_type_tool = $(LLBUILD_TOOL_CODE_SIGN_ENTITLEMENTS)
7070
LLBUILD_TOOL_CODE_SIGN_ENTITLEMENTS =
7171

72-
#include? "TritiumOverrides.xcconfig"
72+
#include? "llbuild3Overrides.xcconfig"

Xcode/Configs/TritiumDebug.xcconfig renamed to Xcode/Configs/llbuild3Debug.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// Shared build settings.
14-
#include "TritiumCommon.xcconfig"
14+
#include "llbuild3Common.xcconfig"
1515

1616
// Only build the active architecture for Debug.
1717
ONLY_ACTIVE_ARCH = YES

Xcode/Configs/TritiumRelease.xcconfig renamed to Xcode/Configs/llbuild3Release.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// Shared build settings.
14-
#include "TritiumCommon.xcconfig"
14+
#include "llbuild3Common.xcconfig"
1515

1616
// Prefer binary Info.plists for Release.
1717
INFOPLIST_OUTPUT_FORMAT = binary

Xcode/Tritium.xctestplan renamed to Xcode/llbuild3.xctestplan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"target" : {
1717
"containerPath" : "container:llbuild.xcodeproj",
1818
"identifier" : "4072B5DD2C51BE5100B68221",
19-
"name" : "TritiumTests"
19+
"name" : "llbuild3Tests"
2020
}
2121
}
2222
],
File renamed without changes.

llbuild.xcodeproj/project.pbxproj

Lines changed: 140 additions & 866 deletions
Large diffs are not rendered by default.

llbuild.xcodeproj/xcshareddata/xcschemes/Tritium.xcscheme renamed to llbuild.xcodeproj/xcshareddata/xcschemes/llbuild3.xcscheme

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<BuildableReference
1717
BuildableIdentifier = "primary"
1818
BlueprintIdentifier = "4072B5D62C51BE5100B68221"
19-
BuildableName = "Tritium.framework"
20-
BlueprintName = "Tritium"
19+
BuildableName = "llbuild3.framework"
20+
BlueprintName = "llbuild3"
2121
ReferencedContainer = "container:llbuild.xcodeproj">
2222
</BuildableReference>
2323
</BuildActionEntry>
@@ -30,8 +30,8 @@
3030
<BuildableReference
3131
BuildableIdentifier = "primary"
3232
BlueprintIdentifier = "4072B5DD2C51BE5100B68221"
33-
BuildableName = "TritiumTests.xctest"
34-
BlueprintName = "TritiumTests"
33+
BuildableName = "llbuild3Tests.xctest"
34+
BlueprintName = "llbuild3Tests"
3535
ReferencedContainer = "container:llbuild.xcodeproj">
3636
</BuildableReference>
3737
</BuildActionEntry>
@@ -44,7 +44,7 @@
4444
shouldUseLaunchSchemeArgsEnv = "YES">
4545
<TestPlans>
4646
<TestPlanReference
47-
reference = "container:Xcode/Tritium.xctestplan"
47+
reference = "container:Xcode/llbuild3.xctestplan"
4848
default = "YES">
4949
</TestPlanReference>
5050
</TestPlans>
@@ -71,8 +71,8 @@
7171
<BuildableReference
7272
BuildableIdentifier = "primary"
7373
BlueprintIdentifier = "4072B5D62C51BE5100B68221"
74-
BuildableName = "Tritium.framework"
75-
BlueprintName = "Tritium"
74+
BuildableName = "llbuild3.framework"
75+
BlueprintName = "llbuild3"
7676
ReferencedContainer = "container:llbuild.xcodeproj">
7777
</BuildableReference>
7878
</MacroExpansion>

0 commit comments

Comments
 (0)