Skip to content

Commit

Permalink
Runtime dispatch, added Smpte428, rayon multithreading
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Oct 8, 2024
1 parent ebd2077 commit fd0bb24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- run: rustup target add aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu powerpc-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+neon" cargo build --all-features --target aarch64-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target i686-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+avx2" cargo build --all-features --target i686-unknown-linux-gnu
- run: cargo build --target powerpc-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+avx2" cargo build --no-default-features--target i686-unknown-linux-gnu
- run: cargo build --target powerpc-unknown-linux-gnu --no-default-features
- run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target x86_64-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+avx2" cargo build --all-features --target x86_64-unknown-linux-gnu
- name: Test release pipeline
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- run: rustup target add aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu powerpc-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+neon" cargo build --all-features --target aarch64-unknown-linux-gnu
- run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target i686-unknown-linux-gnu
- run: cargo build --target powerpc-unknown-linux-gnu --all-features
- run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target x86_64-unknown-linux-gnu
- run: cargo build --target powerpc-unknown-linux-gnu --no-default-features
- run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --no-default-features --target x86_64-unknown-linux-gnu
- name: Make a release
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ num-traits = "0.2.19"
rayon = { version = "1.10.0", optional = true }

[features]
default = []
default = ["rayon"]
rayon = ["dep:rayon"]

0 comments on commit fd0bb24

Please sign in to comment.