Skip to content

Commit

Permalink
Remove detection of compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Dušan Baran authored and ihnorton committed Feb 1, 2025
1 parent 2862c30 commit f5509e0
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -205,27 +205,17 @@ 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

# 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} \
Expand Down

0 comments on commit f5509e0

Please sign in to comment.