self-host TCS compiler GIR and add portable host runtime
This commit is contained in:
parent
3959ae4270
commit
ff29e52a32
33 changed files with 3848 additions and 831 deletions
76
build/targets/TCS-HOST-MACOS-AARCH64.module.gir.json
Normal file
76
build/targets/TCS-HOST-MACOS-AARCH64.module.gir.json
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{
|
||||
"authority_ceiling": {
|
||||
"maximum": "CALLER_PROVIDED_EXACT_ROOT_AND_VALID_LEASE",
|
||||
"network": false,
|
||||
"process": false
|
||||
},
|
||||
"capabilities": {
|
||||
"provided": [
|
||||
"TCS.COMPILE",
|
||||
"GIR.RUN"
|
||||
],
|
||||
"required": [
|
||||
"HOST.EXACT_ROOT_IO",
|
||||
"HOST.SHA256",
|
||||
"HOST.MONOTONIC_TIME"
|
||||
]
|
||||
},
|
||||
"compiled_from": {
|
||||
"compiler_id": "TCS-COMPILER-STAGE1-0001",
|
||||
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
|
||||
"source_sha256": "0ade403f374bb94876b7d9f8b8295304369dac859f6ffed25ac91a191cfb49c3"
|
||||
},
|
||||
"data_scope": {
|
||||
"read": [
|
||||
"TCS_SOURCE",
|
||||
"COMPILER_GIR",
|
||||
"GIR_INPUT"
|
||||
],
|
||||
"write": [
|
||||
"CALLER_SCOPED_BUILD_AND_RECEIPT_ROOT"
|
||||
]
|
||||
},
|
||||
"entry": {
|
||||
"id": "TCS-COMPILER-STAGE1-0001",
|
||||
"kind": "COMPILER_GIR_RUNTIME"
|
||||
},
|
||||
"identity": {
|
||||
"language_version": "0.1",
|
||||
"module_id": "TCS-HOST-MACOS-AARCH64-0001"
|
||||
},
|
||||
"install": {
|
||||
"account_scoped": true,
|
||||
"activation_requires_self_test": true,
|
||||
"registration_is_installation": false
|
||||
},
|
||||
"manifest": {
|
||||
"display_name_zh": "TCS macOS 宿主运行核",
|
||||
"entry_program_id": "TCS-COMPILER-STAGE1-0001",
|
||||
"entry_source": "build/self-host/compiler-B.gir.json",
|
||||
"module_id": "TCS-HOST-MACOS-AARCH64-0001",
|
||||
"target_triple": "aarch64-apple-darwin"
|
||||
},
|
||||
"native_self_hosted": true,
|
||||
"network_scope": {
|
||||
"allowed": false,
|
||||
"domains": []
|
||||
},
|
||||
"projection": {
|
||||
"display_name_zh": "TCS macOS 宿主运行核",
|
||||
"technical_detail_default": false
|
||||
},
|
||||
"resource_ceiling": {
|
||||
"concurrency": 1,
|
||||
"memory_limit_bytes": 268435456,
|
||||
"timeout_ms": 30000
|
||||
},
|
||||
"rollback": {
|
||||
"action": "RESTORE_PREVIOUS_HOST_RUNTIME",
|
||||
"preserve_receipts": true
|
||||
},
|
||||
"schema": "guanghu.module-gir/v1",
|
||||
"self_test": {
|
||||
"expect": "EXECUTED_TARGET_READBACK_VERIFIED",
|
||||
"program_id": "HLP-PROGRAM-ECHO-0001"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue