From 2c7f8e32f66f73afd21e9ecc69cea9f5206bad30 Mon Sep 17 00:00:00 2001 From: Kasper Peeters Date: Sun, 29 Sep 2024 15:55:16 +0100 Subject: [PATCH] Figure out where libquadmath is located in appimage. --- .github/workflows/appimage.yml | 1 + core/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 486c434ae7..e614ac5ec6 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -101,6 +101,7 @@ jobs: cmake -DENABLE_MATHEMATICA=OFF -DAPPIMAGE_MODE=ON -DCMAKE_INSTALL_PREFIX=/usr .. make make install DESTDIR=AppDir + ls -laR AppDir/usr/lib/python3.8/ make appimage cp Cadabra*.AppImage /artifacts diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index e560ea2a4c..82239528c3 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -532,5 +532,5 @@ if(APPIMAGE_MODE) # Install sympy. Matplotlib would be nice, but that pulls in blas and fortran and zillions of other things, # which then don't link properly anymore either. install(CODE "execute_process(COMMAND echo \"Installing python things in \$ENV{DESTDIR}|${CMAKE_INSTALL_PREFIX}|${PYTHON_SITE_PATH}\")") - install(CODE "execute_process(COMMAND pip3 install --target \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${PYTHON_SITE_PATH} sympy matplotlib)") + install(CODE "execute_process(COMMAND pip3 install --target \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${PYTHON_SITE_PATH} sympy matplotlib)") endif()