Skip to content

Commit

Permalink
[R-package] remove temporary files created in configure.win (#4752)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Oct 30, 2021
1 parent dcae8dd commit d574fcb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R-package/configure.win
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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";
Expand Down

0 comments on commit d574fcb

Please sign in to comment.