Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
build: enable Clang-cl Windows builds#35433
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
ff3a4ec26e51ff711a822bbf0efc3ccb17d273cb2b6ec75541f149cad4fe7809d7c1361a5726ad5302f5File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -846,8 +846,9 @@ getArchitecture(uint16_t *pCPU, uint16_t *pBits, UBool *pIsBigEndian, const char | ||
| // for all architectures though. | ||
| # if defined(_M_IX86) | ||
| *pCPU = IMAGE_FILE_MACHINE_I386; | ||
| // TODO: detect ARM64 | ||
| # else | ||
| *pCPU = IMAGE_FILE_MACHINE_UNKNOWN; | ||
| *pCPU = IMAGE_FILE_MACHINE_AMD64; | ||
Comment on lines +849 to +851 Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried an ARM64 build and got an error connected to these changes. After some investigation, I found that dealing with a What we can do, is add another option to | ||
| # endif | ||
| # if defined(_M_IA64) || defined(_M_AMD64) || defined (_M_ARM64) | ||
| *pBits = 64; // Doesn't seem to be used for anything interesting though? | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -335,7 +335,7 @@ class V8_EXPORT_PRIVATE HeapBase : public cppgc::HeapHandle{ | ||
| friend class cppgc::testing::Heap; | ||
| }; | ||
| class V8_NODISCARD V8_EXPORT_PRIVATE ClassNameAsHeapObjectNameScope final{ | ||
| class ClassNameAsHeapObjectNameScope final{ | ||
targos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| public: | ||
| explicit ClassNameAsHeapObjectNameScope(HeapBase& heap); | ||
| ~ClassNameAsHeapObjectNameScope(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -23,6 +23,8 @@ | ||
| #include <inttypes.h> | ||
| #include <emmintrin.h> | ||
| #include <immintrin.h> | ||
| #include <smmintrin.h> | ||
| #include <tmmintrin.h> | ||
targos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| #include <wmmintrin.h> | ||
| #define CRC_LOAD(s) \ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1232,7 +1232,7 @@ def _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config): | ||
| _ToolAppend(tools, "VCPostBuildEventTool", "CommandLine", postbuild) | ||
| # Turn on precompiled headers if appropriate. | ||
| if precompiled_header: | ||
| precompiled_header = os.path.split(precompiled_header)[1] | ||
| # precompiled_header = os.path.split(precompiled_header)[1] | ||
| _ToolAppend(tools, "VCCLCompilerTool", "UsePrecompiledHeader", "2") | ||
| _ToolAppend( | ||
| tools, "VCCLCompilerTool", "PrecompiledHeaderThrough", precompiled_header | ||
| @@ -3036,7 +3036,7 @@ def _GetMSBuildLocalProperties(msbuild_toolset): | ||
| [ | ||
| "PropertyGroup", | ||
| {"Label": "Locals"}, | ||
| ["PlatformToolset", msbuild_toolset], | ||
| ["PlatformToolset", "ClangCL"], | ||
targos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| ] | ||
| ] | ||
| return properties | ||
| @@ -3416,7 +3416,7 @@ def _FinalizeMSBuildSettings(spec, configuration): | ||
| ) | ||
| # Turn on precompiled headers if appropriate. | ||
| if precompiled_header: | ||
| precompiled_header = os.path.split(precompiled_header)[1] | ||
| # precompiled_header = os.path.split(precompiled_header)[1] | ||
targos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| _ToolAppend(msbuild_settings, "ClCompile", "PrecompiledHeader", "Use") | ||
| _ToolAppend( | ||
| msbuild_settings, "ClCompile", "PrecompiledHeaderFile", precompiled_header | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -531,7 +531,7 @@ def GetCflags(self, config): | ||
| cl("AdditionalOptions", prefix="") | ||
| cl( | ||
| "EnableEnhancedInstructionSet", | ||
| map={"1": "SSE", "2": "SSE2", "3": "AVX", "4": "IA32", "5": "AVX2"}, | ||
| map={"1": "SSE", "2": "SSE2", "3": "AVX", "4": "IA32", "5": "AVX2", "6": "AVX512"}, | ||
targos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| prefix="/arch:", | ||
| ) | ||
| cflags.extend( | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for #34201