mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 10:21:55 +03:00
chore: Run multitarget build in script/bundle (#3241)
Ignore this PR for now. This has a chance to speed up a build in case where e.g. we're single-threaded in aarch64 build; at that point the x86_64 codegen can take place. Also, MIR can probably be shared between the two architectures, further reducing build time. Release Notes: - N/A
This commit is contained in:
commit
9582a6f317
@ -86,14 +86,8 @@ if [ "$local_arch" = true ]; then
|
||||
cargo build ${build_flag} --package zed
|
||||
cargo build ${build_flag} --package cli
|
||||
else
|
||||
echo "Compiling zed binary for aarch64-apple-darwin"
|
||||
cargo build ${build_flag} --package zed --target aarch64-apple-darwin
|
||||
echo "Compiling zed binary for x86_64-apple-darwin"
|
||||
cargo build ${build_flag} --package zed --target x86_64-apple-darwin
|
||||
echo "Compiling cli binary for aarch64-apple-darwin"
|
||||
cargo build ${build_flag} --package cli --target aarch64-apple-darwin
|
||||
echo "Compiling cli binary for x86_64-apple-darwin"
|
||||
cargo build ${build_flag} --package cli --target x86_64-apple-darwin
|
||||
echo "Compiling zed binaries"
|
||||
cargo build ${build_flag} --package zed --package cli --target aarch64-apple-darwin --target x86_64-apple-darwin
|
||||
fi
|
||||
|
||||
echo "Creating application bundle"
|
||||
|
Loading…
Reference in New Issue
Block a user