Support Bazel builds on Apple silicon (#978)
* Support Bazel builds on Apple silicon * Add sha_mac_arm64 hash for 3.1.3 * Configure node_repositories in emscripten_deps.bzl * Add mac arm64 to bazel workspace update script Co-authored-by: Matthew Soulanille <matthew@guppy.home>
This commit is contained in:
committed by
GitHub
parent
c33c7be17f
commit
bc6209b6dc
@@ -8,5 +8,7 @@ LLVM_ROOT = BINARYEN_ROOT + "/bin"
|
||||
FROZEN_CACHE = True
|
||||
|
||||
system = platform.system()
|
||||
|
||||
machine = "arm64" if platform.machine() == "arm64" else "amd64"
|
||||
nodejs_binary = "bin/nodejs/node.exe" if(system =="Windows") else "bin/node"
|
||||
NODE_JS = ROOT_DIR + "/external/nodejs_{}_amd64/{}".format(system.lower(), nodejs_binary)
|
||||
NODE_JS = ROOT_DIR + "/external/nodejs_{}_{}/{}".format(system.lower(), machine, nodejs_binary)
|
||||
|
||||
Reference in New Issue
Block a user