From 7830a634aad15045f4074d723a714f76eabf6371 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sat, 30 Oct 2021 00:56:17 -0500 Subject: [PATCH] [R-package] remove temporary files created in configure.win --- R-package/configure.win | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R-package/configure.win b/R-package/configure.win index dfbaa3fc0377..d7f75f972771 100755 --- a/R-package/configure.win +++ b/R-package/configure.win @@ -37,6 +37,8 @@ int main() { EOL ${CXX} ${CXXFLAGS} ${CPPFLAGS} -o conftest conftest.cpp 2>/dev/null && ./conftest && ac_mm_prefetch="yes" +rm -f ./conftest +rm -f ./conftest.cpp echo "checking whether MM_PREFETCH works...${ac_mm_prefetch}" if test "${ac_mm_prefetch}" = "yes"; @@ -59,6 +61,8 @@ int main() { EOL ${CXX} ${CXXFLAGS} ${CPPFLAGS} -o conftest conftest.cpp 2>/dev/null && ./conftest && ac_mm_malloc="yes" +rm -f ./conftest +rm -f ./conftest.cpp echo "checking whether MM_MALLOC works...${ac_mm_malloc}" if test "${ac_mm_malloc}" = "yes";