Skip to content

Commit

Permalink
build(docs): fix Cloudflare builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shadaj committed Dec 12, 2024
1 parent 7dea92b commit 1543191
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build_docs.bash
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
set -e

PLATFORM=${1:-"x86_64-linux-gnu-ubuntu-16.04"}

wget -qO- https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-$PLATFORM.tar.xz | tar xJ
wget -qO- https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/LLVM-19.1.0-Linux-X64.tar.xz | tar xJ

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

Expand All @@ -12,7 +10,7 @@ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

cd website_playground

CARGO_CFG_HYDROFLOW_GENERATE_DOCS="1" RUSTFLAGS="--cfg procmacro2_semver_exempt --cfg super_unstable" CC="$PWD/../clang+llvm-13.0.0-$PLATFORM/bin/clang" wasm-pack build
CARGO_CFG_HYDROFLOW_GENERATE_DOCS="1" RUSTFLAGS="--cfg procmacro2_semver_exempt --cfg super_unstable" CC="$PWD/../LLVM-19.1.0-Linux-X64/bin/clang" wasm-pack build

cd ..

Expand Down

0 comments on commit 1543191

Please sign in to comment.