Skip to content

Commit 45a9f2b

Browse files
committed
Merge branch 'master' of github.com:swift-lang/swift-t
2 parents 11cc17d + 4e480cd commit 45a9f2b

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

dev/conda/build-generic.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,13 @@ then
115115
export R_HOME=$( R RHOME )
116116

117117
log "Installing RInside into $R_HOME ..."
118-
Rscript $DEV_CONDA/install-RInside.R 2>&1 | \
119-
tee $RECIPE_DIR/install-RInside.log
118+
(
119+
# Allow pipe errors here:
120+
# we put token "Swift-RInside-SUCCESS" in the log:
121+
set +o pipefail
122+
Rscript $DEV_CONDA/install-RInside.R 2>&1 | \
123+
tee $RECIPE_DIR/install-RInside.log
124+
)
120125
if ! grep -q "Swift-RInside-SUCCESS" $RECIPE_DIR/install-RInside.log
121126
then
122127
abort "Installing RInside failed."

dev/conda/install-RInside.R

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
# Installs RInside for the Anaconda package
44
# Called by build-generic.sh
55

6+
cat("install-RInside.R: starting...\n")
7+
68
install.packages("RInside",
7-
repos="http://cran.us.r-project.org")
9+
# repos="http://cran.us.r-project.org",
10+
repos="https://cran.case.edu",
11+
verbose=TRUE)
812
if (! library("RInside",
913
character.only=TRUE, logical.return=TRUE)) {
1014
quit(status=1)
1115
}
12-
print("Swift-RInside-SUCCESS")
16+
cat("install-RInside.R: Swift-RInside-SUCCESS\n")

turbine/code/lib/files.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,13 +530,13 @@ namespace eval turbine {
530530
}
531531

532532
proc do_glob { result inputs } {
533-
rule $inputs "glob_body $result $inputs" \
533+
rule $inputs "do_glob_body $result $inputs" \
534534
name "glob-$result" type $::turbine::WORK
535535
}
536536
proc do_glob_body { result s } {
537537
set s_value [ retrieve_decr_string $s ]
538538
set r_value [ ::glob -nocomplain $s_value ]
539-
log "glob: $s_value"
539+
log "do_glob: $s_value"
540540

541541
set i 0
542542
foreach v $r_value {

0 commit comments

Comments
 (0)