Skip to content

Commit

Permalink
Find dartpy
Browse files Browse the repository at this point in the history
  • Loading branch information
costashatz committed Sep 17, 2024
1 parent 968ce21 commit c2ba65e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci/install_dart_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ ${SUDOCMD} make install dartpy

# We are inside the CI
if [ "$PREFIX" = "/home/runner/.dart_install" ]; then
sudo ldconfig
${SUDOCMD} ldconfig
cd $CI_HOME

# Hack for dartpy installation
python_file=/usr/lib/python3/dist-packages/dartpy.cpython-310-x86_64-linux-gnu.so
if [ -f "$python_file" ]; then
sudo cp $python_file ${PREFIX}/$python_dist_dir
${SUDOCMD} cp $python_file ${PREFIX}/$python_dist_dir
fi

${SUDOCMD} updatedb
echo "Searching for dartpy.cpython-310-x86_64-linux-gnu.so ..."
locate dartpy.cpython-310-x86_64-linux-gnu.so

Expand Down

0 comments on commit c2ba65e

Please sign in to comment.