Skip to content

Commit

Permalink
implemented suggested comments
Browse files Browse the repository at this point in the history
Signed-off-by: David Anyatonwu <[email protected]>
  • Loading branch information
onyedikachi-david committed Sep 17, 2024
1 parent 3ecb0fb commit 7c46091
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,15 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.platform }}" == "macos-latest" ]]; then
# These settings are specific to macOS builds
export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
export PKG_CONFIG_ALLOW_CROSS=1
export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../Frameworks -C link-arg=-Wl,-rpath,@loader_path/../Frameworks -C link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib"
elif [[ "${{ matrix.platform }}" == "ubuntu-22.04" || "${{ matrix.platform }}" == "windows-latest" ]]; then
elif [[ "${{ matrix.platform }}" == "ubuntu-22.04" ]]; then
# Linux-specific settings (if any)
export RUSTFLAGS="-C target-cpu=native"
elif [[ "${{ matrix.platform }}" == "windows-latest" ]]; then
# Windows-specific settings (if any)
export RUSTFLAGS="-C target-cpu=native"
fi
cargo build --release ${{ matrix.args }}
Expand Down
2 changes: 1 addition & 1 deletion screenpipe-audio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ criterion = { workspace = true }
memory-stats = "1.0"

[features]
default = ["metal"]
metal = ["candle/metal", "candle-nn/metal", "candle-transformers/metal"]
cuda = ["candle/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
mkl = ["candle/mkl", "candle-nn/mkl", "candle-transformers/mkl"]


Expand Down

0 comments on commit 7c46091

Please sign in to comment.