Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Remove all vcpkg references

Divanshubf1403e41e3e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4e6272dd4..25306b30e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -103,11 +103,6 @@ jobs:
with:
bun-version: 1.2.2
- - name: Install vcpkg
- uses: lukka/run-vcpkg@v11
- with:
- vcpkgGitCommitId: "2a3138723698306f4261632c92dc782f586167e3"
-
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 6629482e4..78abc33d1 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -82,11 +82,6 @@ jobs:
target: x86_64-pc-windows-msvc
rustflags: ""
- - name: Install vcpkg
- uses: lukka/run-vcpkg@v11
- with:
- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"
-
- name: Install 7zip
shell: powershell
run: |
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index ce3120345..a1c84b03e 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -499,12 +499,6 @@ jobs:
working-directory: ${{ github.workspace }}/apps/screenpipe-app-tauri
run: bun install
- - name: Install vcpkg
- if: matrix.os_type == 'windows'
- uses: lukka/run-vcpkg@v11
- with:
- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"
-
- name: Set up MSVC
if: matrix.os_type == 'windows'
uses: ilammy/msvc-dev-cmd@v1
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index 33b1feabf..ad0cd95e8 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -93,11 +93,6 @@ jobs:
working-directory: apps/screenpipe-app-tauri
run: bun install
- - name: Install vcpkg
- uses: lukka/run-vcpkg@v11
- with:
- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"
-
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 45703bd05..244ac983a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -71,30 +71,18 @@ before you begin:
irm https://bun.sh/install.ps1 | iex
```
-3. **clone and setup vcpkg**:
+3. **set environment variables**:
```powershell
- cd C:\dev
- $env:DEV_DIR = $(pwd)
- git clone https://github.com/microsoft/vcpkg.git
- cd vcpkg
- ./bootstrap-vcpkg.bat -disableMetrics
- ./vcpkg.exe integrate install --disable-metrics
- ./vcpkg.exe install ffmpeg:x64-windows
- ```
-
-4. **set environment variables**:
- ```powershell
- [System.Environment]::SetEnvironmentVariable('PKG_CONFIG_PATH', "$env:DEV_DIR\vcpkg\packages\ffmpeg_x64-windows\lib\pkgconfig", 'User')
- [System.Environment]::SetEnvironmentVariable('VCPKG_ROOT', "$env:DEV_DIR\vcpkg", 'User')
[System.Environment]::SetEnvironmentVariable('LIBCLANG_PATH', 'C:\Program Files\LLVM\bin', 'User')
[System.Environment]::SetEnvironmentVariable('PATH', "$([System.Environment]::GetEnvironmentVariable('PATH', 'User'));C:\Program Files (x86)\GnuWin32\bin", 'User')
```
-5. **clone the project**:
+
+4. **clone the project**:
```powershell
git clone https://github.com/screenpipe/screenpipe.git
cd screenpipe
```
-6. **make sure vcredist is present on system**:
+5. **make sure vcredist is present on system**:
- make sure your in root of the project i.e screenpipe
```powershell
@@ -126,7 +114,7 @@ before you begin:
Write-Host "vcruntime140.dll copied successfully!"
```
-8. **build**:
+6. **build**:
```powershell
cd screenpipe
cargo build --release
diff --git a/Cargo.toml b/Cargo.toml
index 8498428e2..616127371 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,7 +28,6 @@ crossbeam = "0.8.4"
dashmap = "6.1.0"
image = "0.25"
criterion = { version = "0.5.1", features = ["async_tokio"] }
-vcpkg = "0.2"
cc = "1.0"
oasgen = { version = "0.22.0", features = ["axum", "chrono"] }
once_cell = "1.20.2"
@@ -44,11 +43,6 @@ reqwest-middleware = "0.4.1"
# enables chinese mirror (hf is banned in china) and native-tls
hf-hub = { git = "https://github.com/neo773/hf-hub" }
-[workspace.metadata.vcpkg]
-git = "https://github.com/microsoft/vcpkg"
-rev = "2023.04.15"
-dynamic = true
-
[profile.release]
codegen-units = 1
lto = true
diff --git a/apps/screenpipe-app-tauri/scripts/pre_build.js b/apps/screenpipe-app-tauri/scripts/pre_build.js
index 2e46ee144..eb4a89fe4 100644
--- a/apps/screenpipe-app-tauri/scripts/pre_build.js
+++ b/apps/screenpipe-app-tauri/scripts/pre_build.js
@@ -26,7 +26,6 @@ const config = {
windows: {
ffmpegName: 'ffmpeg-8.0.1-full_build-shared',
ffmpegUrl: 'https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-8.0.1-full_build-shared.7z',
- vcpkgPackages: ['opencl', 'onnxruntime-gpu'],
},
linux: {
aptPackages: [
@@ -334,12 +333,8 @@ if (platform == 'windows') {
await copyVcredistDlls();
} catch (err) {
console.warn('Skipping VC redist DLL copy (optional outside CI):', err.message);
- }
}
-
- // Setup vcpkg packages with environment variables set inline
- // TODO is this even used? dont we use build.rs for this?
- // await $`SystemDrive=${process.env.SYSTEMDRIVE} SystemRoot=${process.env.SYSTEMROOT} windir=${process.env.WINDIR} ${process.env.VCPKG_ROOT}\\vcpkg.exe install ${config.windows.vcpkgPackages}`.quiet()
+ }
}
/* ########## macOS ########## */