Fix ccache
This commit is contained in:
parent
0470146be9
commit
b373f2121b
@ -14,7 +14,7 @@ HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
|||||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
|
||||||
# ccache
|
# ccache
|
||||||
CCACHE=$(which sccache)
|
CCACHE=$(which sccache || true)
|
||||||
if [[ -x "$CCACHE" ]]; then
|
if [[ -x "$CCACHE" ]]; then
|
||||||
echo "found sccache: $CCACHE"
|
echo "found sccache: $CCACHE"
|
||||||
else
|
else
|
||||||
|
@ -14,7 +14,7 @@ HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
|||||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
|
||||||
# ccache
|
# ccache
|
||||||
CCACHE=$(which sccache)
|
CCACHE=$(which sccache || true)
|
||||||
if [[ -x "$CCACHE" ]]; then
|
if [[ -x "$CCACHE" ]]; then
|
||||||
echo "found sccache: $CCACHE"
|
echo "found sccache: $CCACHE"
|
||||||
else
|
else
|
||||||
|
@ -15,7 +15,7 @@ HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
|||||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
|
||||||
# ccache
|
# ccache
|
||||||
CCACHE=$(which sccache)
|
CCACHE=$(which sccache || true)
|
||||||
if [[ -x "$CCACHE" ]]; then
|
if [[ -x "$CCACHE" ]]; then
|
||||||
echo "found sccache: $CCACHE"
|
echo "found sccache: $CCACHE"
|
||||||
else
|
else
|
||||||
|
@ -15,7 +15,7 @@ HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
|||||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
|
||||||
# ccache
|
# ccache
|
||||||
CCACHE=$(which sccache)
|
CCACHE=$(which sccache || true)
|
||||||
if [[ -x "$CCACHE" ]]; then
|
if [[ -x "$CCACHE" ]]; then
|
||||||
echo "found sccache: $CCACHE"
|
echo "found sccache: $CCACHE"
|
||||||
else
|
else
|
||||||
|
@ -15,7 +15,7 @@ HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
|||||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
|
||||||
# ccache
|
# ccache
|
||||||
CCACHE=$(which sccache)
|
CCACHE=$(which sccache || true)
|
||||||
if [[ -x "$CCACHE" ]]; then
|
if [[ -x "$CCACHE" ]]; then
|
||||||
echo "found sccache: $CCACHE"
|
echo "found sccache: $CCACHE"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user