diff --git a/Containerfile.aarch64-unknown-linux-gnu b/Containerfile.aarch64-unknown-linux-gnu index ac5f440..3a7d0d5 100644 --- a/Containerfile.aarch64-unknown-linux-gnu +++ b/Containerfile.aarch64-unknown-linux-gnu @@ -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" ] diff --git a/Containerfile.aarch64-unknown-linux-musl b/Containerfile.aarch64-unknown-linux-musl index 4c7b143..6bae064 100644 --- a/Containerfile.aarch64-unknown-linux-musl +++ b/Containerfile.aarch64-unknown-linux-musl @@ -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" ] diff --git a/Containerfile.x86_64-unknown-linux-gnu b/Containerfile.x86_64-unknown-linux-gnu index 06d69be..d0177ca 100644 --- a/Containerfile.x86_64-unknown-linux-gnu +++ b/Containerfile.x86_64-unknown-linux-gnu @@ -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"] diff --git a/Containerfile.x86_64-unknown-linux-musl b/Containerfile.x86_64-unknown-linux-musl index a514f02..070825e 100644 --- a/Containerfile.x86_64-unknown-linux-musl +++ b/Containerfile.x86_64-unknown-linux-musl @@ -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" ] diff --git a/changelog.d/30.fixed b/changelog.d/30.fixed new file mode 100644 index 0000000..0457efb --- /dev/null +++ b/changelog.d/30.fixed @@ -0,0 +1 @@ +Linux wheels are now built with release optimizations \ No newline at end of file diff --git a/flake.nix b/flake.nix index fc9d003..f39920b 100644 --- a/flake.nix +++ b/flake.nix @@ -336,6 +336,10 @@ pdm podman pre-commit + rust-toolchain + boost + cmake + ragel fenix.packages.${system}.complete.rust-analyzer ]; };