Skip to content

Commit

Permalink
Debug llvm setup issue pt 10
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Feb 26, 2024
1 parent e9dcac5 commit 8007a79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ jobs:
# export CPPFLAGS=`echo ${CPPFLAGS} | sed 's/"//g'`
# fi
# More weird workarounds. On some CI builds, this is needed somehow...
if [ ! -f /usr/bin/gmake ]; then
# More weird workarounds. On some CI builds, this is needed somehow for LLVM under Ubuntu
if [[ "${RUNNER_OS}" != "macOS" ]] && [[ ! -f /usr/bin/gmake ]]; then
sudo ln -s /usr/bin/make /usr/bin/gmake
fi
Expand Down
8 changes: 4 additions & 4 deletions tools/cmake/IncludeHtslib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -225,18 +225,18 @@ ExternalProject_Add(
# which is mentioned in the release notes for v0.23.0.
# We try to patch this here by having the commands in a script, so that here we just
# have a single command to provide. Let's see if that works.
${CMAKE_CURRENT_BINARY_DIR}/../tools/cmake/configure-htslib.sh
# autoreconf -i
# ${CMAKE_CURRENT_BINARY_DIR}/../tools/cmake/configure-htslib.sh
autoreconf -i
# COMMAND
# autoheader
# COMMAND
# autoconf
# COMMAND
COMMAND
# We need to manually add -fPIC here, as somehow otherwise the local installation
# won't link properly. Linking will always remain a mystery to me...
# Need some special care to fix https://github.com/lczech/grenedalf/issues/12,
# see https://stackoverflow.com/a/59536947 for the solution.
# ./configure CFLAGS=-fPIC CXXFLAGS=-fPIC --prefix=${CMAKE_CURRENT_BINARY_DIR}/genesis-htslib --libdir=${CMAKE_CURRENT_BINARY_DIR}/genesis-htslib/lib --disable-multi-os-directory --disable-libcurl ${HTSLIB_Deflate_configure}
./configure CFLAGS=-fPIC CXXFLAGS=-fPIC --prefix=${CMAKE_CURRENT_BINARY_DIR}/genesis-htslib --libdir=${CMAKE_CURRENT_BINARY_DIR}/genesis-htslib/lib --disable-multi-os-directory --disable-libcurl ${HTSLIB_Deflate_configure}

# Build Step
# BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/genesis-htslib
Expand Down

0 comments on commit 8007a79

Please sign in to comment.