Skip to content

Commit

Permalink
Figure out where libquadmath is located in appimage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Sep 29, 2024
1 parent de5dab0 commit 2c7f8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 2c7f8e3

Please sign in to comment.