forked from emscripten-core/emsdk
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Build emsdk from source #343
Merged
Merged
Changes from 56 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
ff79b58
Add dependencies on various Microsoft-built versions of packages
directhex dffe334
Use standardized build.sh etc, instead of modded repo version
directhex f9a1c95
Fix SDK inclusion
directhex eb8392d
Ensure we ignore packages dir
directhex 2e55f2e
Mostly get emsdk recognising msft-built directories
directhex 51d8fc5
Add emscripten to the mix
directhex f5259d9
fix perms
directhex 215a110
mostly fix build
directhex 820e1eb
More progress
directhex eb0b8e3
Update latest dependencies
directhex 4eee949
typo
directhex d76ed89
Update to latest builds
directhex 343113a
Rename property, to avoid recycling a property used elsewhere
directhex c3d5926
Use DestinationFolder, to avoid issues w/ extensionless files
directhex 184904a
Make Node not filtered out on Linux
directhex e2eb755
Make build pass on Linux, if not pack
directhex 33a5dc1
latest fixes
directhex 18ddb0d
Allow overriding node path, and ensure it's in a subdirectory
directhex 45dff62
Fix package name versioning
directhex e63f0ed
Delete google closure compiler harder. It keeps coming back!
directhex 6363f24
Override clang++ binary too
directhex 38a9f6e
Don't run npm ci, sanitize.py does it for us
directhex 1da0727
Make sure pack target actually works
directhex 48e459c
Always pass host tools to embuilder
directhex d82437d
fix bad escaping on Python setuptools on OSX
directhex 4efbb94
Update dependencies
directhex ab44bc5
Build correct libraries
directhex baf9c47
Delete pyc files, they never match the required Python version anyway
directhex 305ec05
Merge remote-tracking branch 'origin/main' into msft-built-only
directhex fb4f73f
Attempt to make AzDO yml multi-platform
directhex bbbbca6
fix indentation
directhex 5cffb92
Increase timeouts, since the work done is greater & takes longer
directhex cd0ec44
Fix temporary artifact folders
directhex 3eeb824
Maybe make workload upload x64-only
directhex dd1b34a
Don't bring in dependencies on manifest-only build
directhex fe6c2af
Be more aggressive in skipping build for SB
directhex 8a63128
fixup! Be more aggressive in skipping build for SB
directhex 2bacb65
more prebuild elimination
directhex d51a6d4
Try again?
directhex e80181e
No glob = no use UsagePattern
directhex fc0a4ec
Build workload msis on arm64 too
directhex bd29ac2
Merge remote-tracking branch 'origin/main' into msft-built-only
directhex cc320a0
Build against LLVM 16 from Testing
directhex 8b43889
typo
directhex a5f70fd
clang-16 in wrapper
directhex 3a20589
second half of clang-14->16
directhex 25e26b7
Bump LLVM
directhex 9e01515
Merge remote-tracking branch 'origin/main' into msft-built-only
directhex 70f5e6f
typo
directhex fece4a0
Bump emscripten package
directhex 81651eb
Bump LLVM
directhex 20292e9
Deal with a distro with `python3` but not `which` (Mariner)
directhex fe7d8f9
Merge remote-tracking branch 'origin/main' into msft-built-only
directhex c4d022a
Use itemgroup condition instead of individual conditions
directhex 1536db8
Merge remote-tracking branch 'origin/main' into msft-built-only
directhex fe87712
Bump Emscripten
directhex 7376b11
Bump Binaryen
directhex 3aa51b9
Merge remote-tracking branch 'directhex/msft-built-only' into msft-bu…
directhex 5830cfe
Only do manifest builds when targeting x64
directhex 00fcaeb
Fix last change
directhex 0180941
Only do workload generation on x64
directhex cd4dc84
Remove general testing feed
directhex 138240f
Suggestions from Matt RE source-build
directhex 4dca06a
Merge remote-tracking branch 'origin/main' into msft-built-only
directhex 486ee2d
Merge branch 'msft-built-only' of github.com:directhex/emsdk into msf…
directhex 5981326
darc update
directhex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,5 +40,7 @@ __pycache__ | |
/spidermonkey | ||
/binaryen | ||
|
||
# MSFT ignores | ||
/artifacts | ||
/.dotnet | ||
/.packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,45 @@ | |
<PropertyGroup Condition="'$(StabilizePackageVersion)' == 'true'"> | ||
<StableVersion>$(VersionPrefix)</StableVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<_hostArch>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant)</_hostArch> | ||
<BuildArchitecture>$(_hostArch)</BuildArchitecture> | ||
</PropertyGroup> | ||
|
||
<!-- Common properties --> | ||
<PropertyGroup> | ||
|
||
<__ProjectDir Condition="'$(__ProjectDir)'==''">$(MSBuildThisFileDirectory)</__ProjectDir> | ||
<ProjectDir>$(__ProjectDir)\</ProjectDir> | ||
<RootRepoDir>$(ProjectDir)</RootRepoDir> | ||
<ProjectDir Condition="'$(__ProjectDir)'==''">$(MSBuildThisFileDirectory)</ProjectDir> | ||
|
||
<BaseIntermediateOutputPath>$(RootRepoDir)artifacts\obj\$(PlatformConfigPathPart)\</BaseIntermediateOutputPath> | ||
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. Just for future reference really: |
||
|
||
<SourceDir>$(__SourceDir)\</SourceDir> | ||
<SourceDir Condition="'$(__SourceDir)'==''">$(ProjectDir)src\</SourceDir> | ||
|
||
<RootBinDir>$(__RootBinDir)\</RootBinDir> | ||
<RootBinDir Condition="'$(__RootBinDir)'==''">$(RootRepoDir)artifacts\</RootBinDir> | ||
|
||
<BinDir>$(__BinDir)\</BinDir> | ||
<BinDir Condition="'$(__BinDir)'==''">$(RootBinDir)bin\$(PlatformConfigPathPart)\</BinDir> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<BinaryenDir>$(ProjectDir)\binaryen\$(VersionPrefix)</BinaryenDir> | ||
<HostBinaryenDir Condition="'$(BuildArchitecture)' == '$(TargetArchitecture)'">$(BinaryenDir)</HostBinaryenDir> | ||
<HostBinaryenDir Condition="'$(BuildArchitecture)' != '$(TargetArchitecture)'">$(BaseIntermediateOutputPath)\host\binaryen\$(BuildArchitecture)</HostBinaryenDir> | ||
<NodeDir>$(ProjectDir)\node\$(VersionPrefix)</NodeDir> | ||
<HostNodeDir Condition="'$(BuildArchitecture)' == '$(TargetArchitecture)'">$(NodeDir)</HostNodeDir> | ||
<HostNodeDir Condition="'$(BuildArchitecture)' != '$(TargetArchitecture)'">$(BaseIntermediateOutputPath)\host\node\$(BuildArchitecture)</HostNodeDir> | ||
<PythonDir>$(ProjectDir)\python\$(VersionPrefix)</PythonDir> | ||
<HostPythonDir Condition="'$(BuildArchitecture)' == '$(TargetArchitecture)'">$(PythonDir)</HostPythonDir> | ||
<HostPythonDir Condition="'$(BuildArchitecture)' != '$(TargetArchitecture)'">$(BaseIntermediateOutputPath)\host\python\$(BuildArchitecture)</HostPythonDir> | ||
<LLVMDir>$(ProjectDir)\llvm\$(VersionPrefix)</LLVMDir> | ||
<HostLLVMDir Condition="'$(BuildArchitecture)' == '$(TargetArchitecture)'">$(LLVMDir)</HostLLVMDir> | ||
<HostLLVMDir Condition="'$(BuildArchitecture)' != '$(TargetArchitecture)'">$(BaseIntermediateOutputPath)\host\llvm\$(BuildArchitecture)</HostLLVMDir> | ||
<EmscriptenDir>$(ProjectDir)\emscripten\$(VersionPrefix)</EmscriptenDir> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Just for reference, if it helps: https://learn.microsoft.com/en-us/visualstudio/msbuild/property-functions?view=vs-2022#msbuild-ensuretrailingslash