Skip to content

Commit 232760d

Browse files
Merge pull request #37 from jonathan-taylor/master
Using C-software git submodule
2 parents ff598d0 + 46713f0 commit 232760d

File tree

12 files changed

+15
-1803
lines changed

12 files changed

+15
-1803
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "C-software"]
2+
path = C-software
3+
url = https://github.com/selective-inference/C-software.git

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ warnings_are_errors: true
1212
before_install:
1313
- tlmgr install index # for texlive and vignette?
1414
- R -e 'install.packages(c("Rcpp", "intervals"), repos="http://cloud.r-project.org")'
15+
- cd C-software
16+
- git submodule init
17+
- git submodule update
18+
- cd ..
19+
- make src
1520
- make Rcpp
1621
- cd selectiveInference

C-software

Submodule C-software added at a3d9a17

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ Rcpp:
33
- rm -f selectiveInference/R/RcppExports.R
44
Rscript -e "library(Rcpp); Rcpp::compileAttributes('selectiveInference')"
55

6-
install: Rcpp
6+
install: Rcpp src
77
R CMD INSTALL selectiveInference
88

9-
build:
9+
build: src
1010
R CMD build selectiveInference
1111

12-
check: Rcpp build
12+
src:
13+
cp C-software/src/* selectiveInference/src
14+
15+
check: Rcpp build
1316
R CMD build selectiveInference
1417
R CMD check selectiveInference_1.2.2.tar.gz # fix this to be a script variable

selectiveInference/src/debias.h

Lines changed: 0 additions & 76 deletions
This file was deleted.

selectiveInference/src/matrixcomps.c

Lines changed: 0 additions & 261 deletions
This file was deleted.

selectiveInference/src/matrixcomps.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)