Commit 60247ce
authored
Migrating to vs2026 (#173)
* update CMake presets for Visual Studio 2026
* feat: Add CMakePresets.json for cross-platform build, configure, and test presets.
* feat: Add CMake build system and VS Code debug configurations for the TypeScript compiler.
* feat: Update GC library references and version to 8.2.8 across build scripts and configurations
* fix: Add missing parentheses in while loop conditions for parser decorators and modifiers
* feat: Update CMake presets for Visual Studio 2022 and 2026 with new configurations
* chore: Update subproject commit for llvm-project to latest version
* fix: Update description for Clang++ generator in CMake presets
* feat: Update build scripts for Visual Studio 2026 compatibility and add missing configurations
* chore: Update subproject commit for llvm-project to latest version
* feat: Update build scripts to disable shared libraries for Visual Studio and Ninja configurations
* feat: Update GC and libatomic_ops versions in preparation scripts to 8.2.8 and 7.8.2
* chore: Update subproject commit for llvm-project to latest version
* feat: Update CMake configuration for Visual Studio 2026 compatibility and adjust runtime library settings
* feat: Update launch configuration for Visual Studio 2026 compatibility
* feat: Enhance debugging support with CRT leak checking in debug mode
* chore: Remove memory leak dump call from JIT execution
* feat: Add memory leak prevention comment and remove unused memory leak dump call in JIT execution
* feat: Update debug memory leak checking configuration in main function
* fix: Prevent false positive memory leak reports in release builds by enabling stack trace printing
* fixes to test runner
* update build scripts
* script update
* more build scripts update
* fix for test
* update launch configurations for VS 2026 build paths and fix bug with not init local variable
* Add C linkage for GC wrappers and export runtime symbols for JIT integration
* Update build scripts for LLVM integration and enhance JIT error handling
* Refactor JIT symbol registration to use DynamicLibrary for CRT entry points
* Enhance build scripts for Visual Studio 2026 integration and update library linking for static CRT compatibility
* Adjust GlobalConstructorOp priority to prevent crashes during CRT initialization
* Update build scripts for GC and TSC to set executable permissions and adjust library copy paths
* Prefix temporary object/shared-lib filenames to avoid conflicts during parallel test execution
* Include process ID in temporary output file names to prevent collisions during parallel test execution
* Update GC and libatomic_ops versions in CI workflows for consistency
* Update build scripts to use cmake install command for better package management
* Refactor GC linking logic in buildExe function to differentiate between platforms
* Refactor GC library linking to use variable for better platform compatibility
* Refactor GC library linking to simplify logic and ensure consistent usage
* Fix CMake configuration for GC library path and message output
* added test file for debug build
* Update test runner paths for shared libraries in batch file generation
* Update shared library filename handling in createSharedMultiBatchFile
* Enhance createSharedMultiBatchFile to isolate test execution in unique working directories and adjust output paths for better parallel test handling
* Enhance LLVMCodeHelper to set function linkage as internal and improve debug info handling for global variables
* Update CMakeLists.txt to use static CRT for MSVC configurations and ensure consistency across all targets
* Update CMakeLists.txt to correct GC library path for MSVC and test runner
* Fix GC library path check and remove redundant copy commands in prepare_3rdParty.bat
* Refactor CMake configuration to utilize BDWgc package for garbage collector integration and update test-runner paths for improved compatibility
* Update README.md to enhance structure, clarify build instructions, and improve formatting for code examples
* Update CMake configuration to disable documentation generation during GC build and installation
* Update CI workflows to use Windows-latest and target Visual Studio 2026 for GC configuration
* Refactor CI workflows to remove redundant copy commands and disable shared library builds for GC
* fixes to vs version
* update release workflow to use vs2026
* Update CMake configuration to use GitHub workspace for installation paths
* Update CACHE_VERSION to v9 in CI workflows and remove redundant copy commands
* Update CMake configuration for GC to set default policy and runtime library
* Refactor reference handling: introduce Ref and Deref types, update MLIR methods, and add tests
* Increase parallel build jobs to 20 for debug and release scripts, and remove deprecated Visual Studio 2022 build script1 parent e3ae5fa commit 60247ce
58 files changed
Lines changed: 990 additions & 725 deletions
File tree
- .github/workflows
- docs/fix/gc
- tests
- scripts
- tsc
- include/TypeScript
- LowerToLLVM
- MLIRLogic
- VSCodeTemplate
- lib
- TypeScriptRuntime
- TypeScript
- test
- .vscode
- tester
- tests
- tsc-new-parser
- tsc
- .vscode
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 106 | + | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
125 | | - | |
| 122 | + | |
126 | 123 | | |
127 | 124 | | |
128 | 125 | | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
133 | | - | |
| 130 | + | |
134 | 131 | | |
135 | 132 | | |
136 | 133 | | |
137 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
83 | | - | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 99 | + | |
103 | 100 | | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
108 | | - | |
| 105 | + | |
109 | 106 | | |
110 | 107 | | |
111 | 108 | | |
| |||
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | | - | |
| 114 | + | |
118 | 115 | | |
119 | 116 | | |
120 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
| 131 | + | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
0 commit comments