mediar-ai / screenpipe

rewind.ai x cursor.com = your AI assistant that has all the context. 24/7 screen & voice recording for the age of super intelligence. get your data ready or be left behind
https://screenpi.pe
MIT License
9.64k stars 566 forks source link

Use recursive copy for MKL #600

Closed Neptune650 closed 3 weeks ago

Neptune650 commented 3 weeks ago

@louis030195 One last change since you were a little too quick with the latest PR.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
screenpipe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2024 6:58pm
Neptune650 commented 3 weeks ago

@louis030195 If it fails again, just merge this.

Neptune650 commented 3 weeks ago

@louis030195 https://github.com/mediar-ai/screenpipe/commit/e3ebed2d2d25f4c7fb96df55370aa6cd384d642f appears to have broken building. But my changes work now.

louis030195 commented 3 weeks ago

https://github.com/mediar-ai/screenpipe/actions/runs/11581165046/job/32241290226

ERROR: Could not find dependency: libiomp5.so

@Neptune650 any idea?

Neptune650 commented 3 weeks ago

https://github.com/mediar-ai/screenpipe/actions/runs/11581165046/job/32241290226

ERROR: Could not find dependency: libiomp5.so

@Neptune650 any idea?

@louis030195 Add

  if [[ "ubuntu-22.04" == "ubuntu-22.04" ]]; then
    export PKG_CONFIG_PATH="~/.local/lib/pkgconfig:$PKG_CONFIG_PATH"
    export MKLROOT="/opt/intel/mkl"
  fi

To the "build" step (not build cli)

louis030195 commented 3 weeks ago

@Neptune650 https://github.com/mediar-ai/screenpipe/actions/runs/11582012318/job/32244048059#step:23:25

Neptune650 commented 3 weeks ago

@louis030195 Add:

sudo cp -rfv ~/.local/lib/* /usr/lib/x86_64-linux-gnu/

To the end of the "Install MKL in Linux" step It should fix everything.

louis030195 commented 3 weeks ago

@Neptune650 trying now

not even sure why tauri app complains, the mkl is only on the CLI

Neptune650 commented 3 weeks ago

@Neptune650 trying now

not even sure why tauri app complains, the mkl is only on the CLI

@louis030195 I'm pretty sure it would've worked this time - but failed because it doesn't retry downloading files, so randomly it fails - Tauri issue. Try retrying the action ig.

Also I just noticed it seems to run out of space.