Skip to content
Snippets Groups Projects
Commit 312e5eda authored by liushuyu's avatar liushuyu
Browse files

CI: lint scripts

parent 161d6960
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
cp license.txt "$DIR_NAME"
cp README.md "$DIR_NAME"
if [[ "x${NO_SOURCE_PACK}" == "x" ]]; then
if [[ -z "${NO_SOURCE_PACK}" ]]; then
tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt
cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME"
fi
......
......@@ -14,8 +14,7 @@ mkdir -p build && cd build
export LDFLAGS="-fuse-ld=lld"
# -femulated-tls required due to an incompatibility between GCC and Clang
# TODO(lat9nq): If this is widespread, we probably need to add this to CMakeLists where appropriate
export CFLAGS="-femulated-tls"
export CXXFLAGS="${CFLAGS}"
export CXXFLAGS="-femulated-tls"
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE="${PWD}/../CMakeModules/MinGWClangCross.cmake" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment