-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use the old configure (wo gpu configuration) for windows for now
- Loading branch information
1 parent
460de06
commit 15d44d4
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#! /usr/bin/env sh | ||
sh ./configure | ||
sh ./configure_win |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env sh | ||
|
||
# adapted from https://github.com/tidyverse/purrr/blob/main/configure | ||
|
||
# Check that this is not just ./configure. We need to run this | ||
# from R CMD INSTALL, to have the R env vars set. | ||
|
||
if [ -z "$R_HOME" ]; then | ||
echo >&2 R_HOME is not set, are you running R CMD INSTALL? | ||
exit 1 | ||
fi | ||
|
||
# Find the R binary we need to use. This is a bit trickier on | ||
# Windows, because it has two architectures. On windows R_ARCH_BIN | ||
# is set, so this should work everywhere. | ||
RBIN="${R_HOME}/bin${R_ARCH_BIN}/R" | ||
|
||
"$RBIN" --vanilla --slave -f tools/configure.R |