Repository navigation
TargetOS::IsMacOS was not properly handled on X64 - #87940
Conversation
davidwrighton
commented
Jun 22, 2023
- Add a new concept of only determining the OS dynamically on Unix, and not all the various flags
- Funnel that through our build system
- Remove some legacy msbuild logic that is no longer used
- Add a new concept of only determining the OS dynamically on Unix, and not all the various flags - Funnel that through our build system - Remove some legacy msbuild logic that is no longer used
|
@kunalspathak Does this fix the issue you were seeing? |
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue Details
|
I verified that it fixes the problem. |
| target_compile_definitions(${TARGETDETAILS_TARGET} PRIVATE TARGET_APPLE) | ||
| target_compile_definitions(${TARGETDETAILS_TARGET} PRIVATE TARGET_OSX) | ||
| endif() | ||
| if (TARGETDETAILS_OS STREQUAL "unix_anyos") |
There was a problem hiding this comment.
what exactly is unix_anyos? it represents both linux and osx? because there is also unix_osx?
There was a problem hiding this comment.
ah, its similar to how we have universal term...this is cross plat binary that can be used for altjit purpose on unix or macos I assume.
There was a problem hiding this comment.
Yes. Its not actually intended for altjit (although it does work for that case) its primary use is for crossgen2, which supports targeting all architecture/os pairs from any given 64bit build.