mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-17 22:51:54 +00:00
try something else for cmake
This commit is contained in:
parent
7d63344482
commit
470974aef2
9
debian/rules
vendored
9
debian/rules
vendored
@ -210,15 +210,16 @@ override_dh_auto_configure: preconfigure
|
|||||||
if test -d /tmp/cmake/bin; then \
|
if test -d /tmp/cmake/bin; then \
|
||||||
ls /tmp/cmake/bin; \
|
ls /tmp/cmake/bin; \
|
||||||
fi
|
fi
|
||||||
if test -d /tmp/cmake/bin/; then \
|
CMAKE_BIN=cmake
|
||||||
export PATH=/tmp/cmake/bin:$$PATH; \
|
if test -f /tmp/cmake/bin/cmake; then \
|
||||||
|
CMAKE_BIN=/tmp/cmake/bin/cmake; \
|
||||||
fi
|
fi
|
||||||
echo $$PATH
|
echo $$CMAKE_BIN
|
||||||
# TODO(axw) specify build type for CMake
|
# TODO(axw) specify build type for CMake
|
||||||
# TODO(axw) pass compiler flags, etc.
|
# TODO(axw) pass compiler flags, etc.
|
||||||
|
|
||||||
cd $(TARGET_BUILD) && \
|
cd $(TARGET_BUILD) && \
|
||||||
cmake ../ \
|
$$CMAKE_BIN ../ \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-$(LLVM_VERSION) \
|
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-$(LLVM_VERSION) \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
Loading…
Reference in New Issue
Block a user