Skip to content

Commit

Permalink
F/babylon optimizer (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy authored Sep 28, 2024
1 parent 583116f commit 8ccd25c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ COPY --from=builder /usr/local/bin/wasm-opt /usr/local/bin
# Add script as entry point
COPY --from=builder /usr/local/bin/optimize.sh /usr/local/bin


# clang and llvm are required for compiling rust-secp256k1 in rust-bitcoin
RUN apk update && \
apk add --no-cache clang llvm

# Assume we mount the source code in /code
WORKDIR /code

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docker names (DN) for the images
DN_OPTIMIZER := "cosmwasm/optimizer"
DN_RUST_OPTIMIZER := "cosmwasm/rust-optimizer"
DN_WORKSPACE_OPTIMIZER := "cosmwasm/workspace-optimizer"
DN_OPTIMIZER := "babylonlabs/optimizer"
DN_RUST_OPTIMIZER := "babylonlabs/rust-optimizer"
DN_WORKSPACE_OPTIMIZER := "babylonlabs/workspace-optimizer"
DOCKER_TAG := 0.16.0

# Native arch
Expand Down

0 comments on commit 8ccd25c

Please sign in to comment.