mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
Remove denort optimization (#10350)
denort is an optimization to "deno compile" to produce slightly smaller output. It's a decent idea, but causes a lot of negative side-effects: - Deno's link time is a source of constant agony both locally and in CI, denort doubles link time. - The release process is a long and arduous undertaking with many manual steps. denort necessitates an additional manual zip + upload from M1 apple computers. - The "deno compile" interface is complicated with the "--lite" option. This is confusing for uses ("why wouldn't you want lite?"). The benefits of this feature do not outweigh the negatives. We must find a different approach to optimizing "deno compile" output.
This commit is contained in:
parent
e4e7d957e8
commit
f7c298e297
11 changed files with 9 additions and 103 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -224,7 +224,6 @@ jobs:
|
|||
run: |
|
||||
cd target/release
|
||||
zip -r deno-x86_64-unknown-linux-gnu.zip deno
|
||||
zip -r denort-x86_64-unknown-linux-gnu.zip denort
|
||||
./deno types > lib.deno.d.ts
|
||||
|
||||
- name: Pre-release (mac)
|
||||
|
@ -235,7 +234,6 @@ jobs:
|
|||
run: |
|
||||
cd target/release
|
||||
zip -r deno-x86_64-apple-darwin.zip deno
|
||||
zip -r denort-x86_64-apple-darwin.zip denort
|
||||
|
||||
- name: Pre-release (windows)
|
||||
if: |
|
||||
|
@ -244,7 +242,6 @@ jobs:
|
|||
matrix.profile == 'release'
|
||||
run: |
|
||||
Compress-Archive -CompressionLevel Optimal -Force -Path target/release/deno.exe -DestinationPath target/release/deno-x86_64-pc-windows-msvc.zip
|
||||
Compress-Archive -CompressionLevel Optimal -Force -Path target/release/denort.exe -DestinationPath target/release/denort-x86_64-pc-windows-msvc.zip
|
||||
|
||||
- name: Upload canary to dl.deno.land (unix)
|
||||
if: |
|
||||
|
@ -376,7 +373,7 @@ jobs:
|
|||
- name: Clean before cache
|
||||
shell: bash
|
||||
run: |
|
||||
rm -f target/*/deno target/*/denort target/*/test_server
|
||||
rm -f target/*/deno target/*/test_server
|
||||
rm -rf target/*/examples/
|
||||
rm -rf target/*/gn_out/
|
||||
rm -rf target/*/*.zip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue