Skip to content

Commit

Permalink
Enable CPU optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
Tehnix committed Nov 10, 2023
1 parent f513cbc commit 16c32a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda-directly-optimized/Dockerfile-arm
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ COPY . /dist/apollo-router-lambda

# Build our lambda bootstrap binary. The release artifact can be found at:
# /dist/apollo-router-lambda/target/lambda/apollo-router-lambda/bootstrap
# RUN export PATH="$HOME/.cargo/bin:$PATH"; export RUSTFLAGS="-Ctarget-feature=+lse -Ctarget-cpu=neoverse-n1 -Ctarget-cpu=neoverse-n1"; cargo lambda build --compiler cargo --release
RUN export PATH="$HOME/.cargo/bin:$PATH"; cargo lambda build --compiler cargo --release
RUN export PATH="$HOME/.cargo/bin:$PATH"; export RUSTFLAGS="-Ctarget-feature=+lse -Ctarget-cpu=neoverse-n1"; cargo lambda build --compiler cargo --release
# RUN export PATH="$HOME/.cargo/bin:$PATH"; cargo lambda build --compiler cargo --release

0 comments on commit 16c32a4

Please sign in to comment.