Skip to content

Commit

Permalink
document configure.win
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Jun 15, 2024
1 parent 613e38a commit ccea510
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configure.win
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@

# On R 4.3 and 4.4, Abseil can be resolved using pkg-config. Otherwise,
# build a copy of Abseil-cpp using CMake.
if pkg-config absl_base --libs 2>/dev/null; then
echo "Using Abseil from RTools via pkg-config"
else
# Build the libraries
WIN_CPPFLAGS="-DABSL_FORCE_WAITER_MODE=4" tools/build_absl.sh

# Remove the build directory (its existence causes a check warning on R 4.2)
rm -rf tools/build
fi

# On R 4.3 and 4.4, OpenSSL can be resolved using pkg-config. Otherwise,
# Use rwinlibs to download a static library for that toolchain.
if pkg-config openssl --libs 2>/dev/null; then
echo "Using openssl from RTools via pkg-config"
else
Expand Down

0 comments on commit ccea510

Please sign in to comment.