mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-17 19:02:32 +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 \
|
||||
ls /tmp/cmake/bin; \
|
||||
fi
|
||||
if test -d /tmp/cmake/bin/; then \
|
||||
export PATH=/tmp/cmake/bin:$$PATH; \
|
||||
CMAKE_BIN=cmake
|
||||
if test -f /tmp/cmake/bin/cmake; then \
|
||||
CMAKE_BIN=/tmp/cmake/bin/cmake; \
|
||||
fi
|
||||
echo $$PATH
|
||||
echo $$CMAKE_BIN
|
||||
# TODO(axw) specify build type for CMake
|
||||
# TODO(axw) pass compiler flags, etc.
|
||||
|
||||
cd $(TARGET_BUILD) && \
|
||||
cmake ../ \
|
||||
$$CMAKE_BIN ../ \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-$(LLVM_VERSION) \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
|
Loading…
Reference in New Issue
Block a user