From f5509e00c504be1909cf1bb6838755956edd87b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Baran?= Date: Wed, 15 Jan 2025 12:52:24 +0100 Subject: [PATCH] Remove detection of compiler --- bootstrap | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/bootstrap b/bootstrap index 5ae7321b8c7..b912999a0b5 100755 --- a/bootstrap +++ b/bootstrap @@ -205,18 +205,8 @@ if [[ x"${CXX}" = x"" ]]; then CXX=g++ fi -c_compiler=`which ${CC}` -cxx_compiler=`which ${CXX}` cmake=`which cmake` -if [[ ! -x ${c_compiler} ]]; then - die "cannot find c compiler" -fi - -if [[ ! -x ${cxx_compiler} ]]; then - die "cannot find cplusplus compiler" -fi - if [[ ! -x ${cmake} ]]; then die "cannot find cmake" fi @@ -224,8 +214,8 @@ fi # Configure ${cmake} -DCMAKE_BUILD_TYPE=${build_type} \ -DCMAKE_INSTALL_PREFIX="${prefix_dirs}" \ - -DCMAKE_C_COMPILER="${c_compiler}" \ - -DCMAKE_CXX_COMPILER="${cxx_compiler}" \ + -DCMAKE_C_COMPILER="${CC}" \ + -DCMAKE_CXX_COMPILER="${CXX}" \ -DCMAKE_PREFIX_PATH="${dependency_dir}" \ -DBUILD_SHARED_LIBS=${build_shared_libs} \ -DTILEDB_ASSERTIONS=${tiledb_assertions} \