File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 6
6
^appveyor\.yml$
7
7
^doc$
8
8
^gen$
9
+ ^libs$
9
10
^inst/lib$
11
+ ^inst/libs$
10
12
^revdep$
11
13
^src/.*\.o$
12
14
^src/tbb/build/lib_.*$
Original file line number Diff line number Diff line change 3
3
.Rhistory
4
4
.RData
5
5
.DS_Store
6
- autom4te.cache /
7
- config.log
8
- config.status
9
6
inst /doc
7
+ inst /lib
8
+ inst /libs
9
+ libs
10
10
revdep
11
- src-i386 /
12
- src-x64 /
11
+ src-i386
12
+ src-x64
13
13
tbb.log
Original file line number Diff line number Diff line change 1
1
2
+ # !diagnostics suppress=R_PACKAGE_DIR,SHLIB_EXT,R_ARCH
2
3
.install.libs <- function () {
3
4
4
5
# copy default library
5
6
files <- Sys.glob(paste0(" *" , SHLIB_EXT ))
6
7
dest <- file.path(R_PACKAGE_DIR , paste0(" libs" , R_ARCH ))
7
8
dir.create(dest , recursive = TRUE , showWarnings = FALSE )
8
9
file.copy(files , dest , overwrite = TRUE )
10
+
11
+ # also copy to package 'libs' folder, for devtools
12
+ dest <- paste0(" ../libs" , R_ARCH )
13
+ dir.create(dest , recursive = TRUE , showWarnings = FALSE )
14
+ file.copy(files , dest , overwrite = TRUE )
15
+
16
+ # copy symbols if available
9
17
if (file.exists(" symbols.rds" ))
10
18
file.copy(" symbols.rds" , dest , overwrite = TRUE )
11
19
You can’t perform that action at this time.
0 commit comments