Skip to content

Commit

Permalink
Configure build for SSE3, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-azarchs committed Oct 12, 2021
1 parent 778a0eb commit 81570c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "force-frame-pointers=yes",
"-C", "target-feature=+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt",
]
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports_files(

cargo_binary(
name = "bamtofastq",
srcs = glob(["src/**"]),
srcs = glob(["src/**"]) + [".cargo/config.toml"],
cargo_deps = "@bamtofastq_cargo_dependencies",
visibility = ["//visibility:public"],
)

0 comments on commit 81570c0

Please sign in to comment.