Skip to content

Commit

Permalink
Fix path to Python lib
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Dec 18, 2020
1 parent e7504b9 commit 046d8a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ jobs:
export CMAKE_LIBRARY_PATH=`pwd`/hdf5-libs
PYTHON_EXE=$(which python)
PYTHON_INC=$(echo $(dirname $(which python))/../include/*/)
PYTHON_LIB=$(which python)/../lib/libpython${{ matrix.python-version }}*.so
echo ${pythonLocation}
echo $PYTHON_EXE $PYTHON_INC $PYTHON_LIB
find ${pythonLocation}
PYTHON_LIB=$(echo $(which python)/../lib/libpython${{ matrix.python-version }}*.so)
mkdir build && cd build
../tools/coverage/setup.py
PYTHONPATH=`pwd`/coverage cmake .. -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=$PYTHON_EXE -DPYTHON_INCLUDE_DIR=$PYTHON_INC -DPYTHON_LIBRARY=$PYTHON_LIB -DCMAKE_C_FLAGS="-fprofile-arcs -ftest-coverage"
Expand Down

0 comments on commit 046d8a1

Please sign in to comment.