Skip to content

Commit

Permalink
Merge pull request #31 from vlaci/release-optimisations
Browse files Browse the repository at this point in the history
Release optimisations
  • Loading branch information
vlaci authored Dec 12, 2023
2 parents 18d76bf + 58af610 commit a53dfb3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Containerfile.aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ RUN mkdir -p /usr/src/pyperscan
WORKDIR /usr/src/pyperscan
RUN echo -e '#!/usr/bin/env bash\nsource scl_source enable llvm-toolset-7.0\nexec "$@"' > /entrypoint.sh && chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD [ "maturin", "build", "-o", "dist", "-F", "vectorscan" ]
CMD [ "maturin", "build", "-r", "-o", "dist", "-F", "vectorscan" ]
2 changes: 1 addition & 1 deletion Containerfile.aarch64-unknown-linux-musl
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ RUN pip install maturin \

WORKDIR /usr/src/pyperscan

CMD [ "maturin", "build", "-o", "dist", "--compatibility", "musllinux_1_1", "-F", "vectorscan" ]
CMD [ "maturin", "build", "-r", "-o", "dist", "--compatibility", "musllinux_1_1", "-F", "vectorscan" ]
2 changes: 1 addition & 1 deletion Containerfile.x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ RUN pip install maturin \
RUN mkdir -p /usr/src/pyperscan
WORKDIR /usr/src/pyperscan
RUN echo -e '#!/usr/bin/env bash\nsource scl_source enable llvm-toolset-7\nexec "$@"' > /entrypoint.sh && chmod +x /entrypoint.sh
CMD [ "maturin", "build", "-o", "dist", "-F", "vectorscan" ]
CMD [ "maturin", "build", "-r", "-o", "dist", "-F", "vectorscan" ]
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion Containerfile.x86_64-unknown-linux-musl
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ RUN pip install maturin \

WORKDIR /usr/src/pyperscan

CMD [ "maturin", "build", "-o", "dist", "--compatibility", "musllinux_1_1", "-F", "vectorscan" ]
CMD [ "maturin", "build", "-r", "-o", "dist", "--compatibility", "musllinux_1_1", "-F", "vectorscan" ]
1 change: 1 addition & 0 deletions changelog.d/30.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Linux wheels are now built with release optimizations
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@
pdm
podman
pre-commit
rust-toolchain
boost
cmake
ragel
fenix.packages.${system}.complete.rust-analyzer
];
};
Expand Down

0 comments on commit a53dfb3

Please sign in to comment.