Skip to content

Commit

Permalink
Fix lgtm libsodium build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmang9 committed Aug 10, 2020
1 parent 552ac73 commit 5e8d846
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ set(QUIET 1 CACHE INTEGER "")
set(PP_EXT "LAZYR" CACHE STRING "")
set(PP_METHD "LAZYR;OATEP" CACHE STRING "")

#add_subdirectory(contrib/relic)
add_subdirectory(src)

if (EMSCRIPTEN)
Expand Down
10 changes: 10 additions & 0 deletions lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@ extraction:
- "wget --quiet -O - \"https://cmake.org/files/v3.16/cmake-3.16.3-Linux-x86_64.tar.gz\"\
\ | tar --strip-components=1 -xz -C custom_cmake"
- "export PATH=$(pwd)/custom_cmake/bin:${PATH}"
- "cd $LGTM_SRC/"
- "mkdir custom_libsodium"
- "wget --quiet -O - \"https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz\"\
\ | tar --strip-components=1 -xz -C custom_libsodium"
- "cd custom_libsodium"
- "./configure --with-pic=\"yes\" --prefix=$LGTM_SRC/"
- "make"
- "make install"
- "export CMAKE_INCLUDE_PATH=$LGTM_SRC/include:${CMAKE_INCLUDE_PATH}"
- "export CMAKE_LIBRARY_PATH=$LGTM_SRC/lib:${CMAKE_LIBRARY_PATH}"
- "mkdir $LGTM_SRC/_lgtm_build_dir"
- "cd $LGTM_SRC/_lgtm_build_dir"

0 comments on commit 5e8d846

Please sign in to comment.