Skip to content

Commit 37f21af

Browse files
committed
Try un-vendor openssl
1 parent 9312cd9 commit 37f21af

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,23 @@ jobs:
4646
CFLAGS_s390x_unknown_linux_gnu: "-march=z10"
4747
with:
4848
target: ${{ matrix.platform.target }}
49-
args: --release --out dist
49+
args: --release --out dist ${{ matrix.platform.target != 'x86_64' && '' || '--features typst-kit/vendor-openssl' }}
5050
sccache: "true"
5151
manylinux: ${{ matrix.platform.manylinux || 'auto' }}
5252
before-script-linux: |
53-
which yum > /dev/null && yum install -y perl-core
53+
which yum > /dev/null && yum install -y perl-core openssl-devel
5454
- name: Build free-threaded wheels
5555
uses: PyO3/maturin-action@v1
5656
env:
5757
# Make psm compile, see https://github.com/rust-lang/stacker/issues/79
5858
CFLAGS_s390x_unknown_linux_gnu: "-march=z10"
5959
with:
6060
target: ${{ matrix.platform.target }}
61-
args: --release --out dist -i python3.14t
61+
args: --release --out dist -i python3.14t ${{ matrix.platform.target != 'x86_64' && '' || '--features typst-kit/vendor-openssl' }}
6262
sccache: "true"
6363
manylinux: ${{ matrix.platform.manylinux || 'auto' }}
6464
before-script-linux: |
65-
which yum > /dev/null && yum install -y perl-IPC-Cmd
65+
which yum > /dev/null && yum install -y perl-core openssl-devel
6666
- name: Upload wheels
6767
uses: actions/upload-artifact@v4
6868
with:

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ typst = "0.14.2"
2828
typst-kit = { version = "0.14.2", features = [
2929
"downloads",
3030
"embed-fonts",
31-
"vendor-openssl",
3231
] }
3332
typst-pdf = "0.14.2"
3433
typst-svg = "0.14.2"

0 commit comments

Comments
 (0)