mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-19 18:03:50 +00:00
Problem: clang-format-diff does not run
Solution: fix execution directory
This commit is contained in:
parent
749a85cb21
commit
ac775ba48b
@ -35,11 +35,14 @@ elif [ $CURVE == "libsodium" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Build, check, and install from local source
|
# Build, check, and install from local source
|
||||||
|
cd ../..
|
||||||
|
mkdir build_cmake
|
||||||
|
cd build_cmake
|
||||||
if [ "$DO_CLANG_FORMAT_CHECK" -eq "1" ] ; then
|
if [ "$DO_CLANG_FORMAT_CHECK" -eq "1" ] ; then
|
||||||
if ! (cd ../..; mkdir build_cmake && cd build_cmake && PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make clang-format-check) ; then
|
if ! ( PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make clang-format-check) ; then
|
||||||
make clang-format-diff
|
make clang-format-diff
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
( cd ../..; mkdir build_cmake && cd build_cmake && PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make -j5 all VERBOSE=1 && make install && make -j5 test ) || exit 1
|
( PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make -j5 all VERBOSE=1 && make install && make -j5 test ) || exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user