Browse code

Merge branch 'master' into devel

mikejiang authored on 23/01/2021 02:45:59
Showing 2 changed files

... ...
@@ -11,7 +11,7 @@ License: file LICENSE
11 11
 License_restricts_use: yes
12 12
 LazyData: TRUE
13 13
 Imports:
14
-    cytolib(>= 2.1.18),
14
+    cytolib(>= 2.3.4),
15 15
     flowCore (>= 1.99.10),
16 16
     flowWorkspace (>= 4.1.8),
17 17
     openCyto (>= 1.99.2),
... ...
@@ -40,7 +40,7 @@ Imports:
40 40
     RcppParallel,
41 41
     xml2
42 42
 biocViews: ImmunoOncology, FlowCytometry, DataImport, DataRepresentation
43
-LinkingTo: Rcpp, BH(>= 1.62.0-1), RProtoBufLib, cytolib ( >= 1.99.26),Rhdf5lib, RcppArmadillo, RcppParallel(>= 4.4.2-1), flowWorkspace
43
+LinkingTo: Rcpp, BH(>= 1.62.0-1), RProtoBufLib, cytolib, Rhdf5lib, RcppArmadillo, RcppParallel(>= 4.4.2-1), flowWorkspace
44 44
 Suggests:
45 45
     testthat,
46 46
     flowWorkspaceData ,
... ...
@@ -7,21 +7,12 @@ This makefile requires GNU Make.
7 7
 endif
8 8
 	
9 9
 CXX_STD = CXX11
10
-#somehow the implicit $CC isn't available/accurate, so we have to re-fetch it
11
-compilerinfo = ${shell R CMD config CXX}
12
-compiler = $(findstring clang++, $(compilerinfo))
13
-#$(info "$(compiler)")
14
-ifneq (,$(compiler))
15
-	fslib = c++fs
16
-else
17
-	fslib = stdc++fs
18
-endif
19
-	
20 10
 
21
-h5lib = $(shell echo 'Rhdf5lib::pkgconfig("PKG_C_LIBS")'|\
22
-    "${R_HOME}/bin/R" --vanilla --slave)
23
-    
24 11
 PKG_CPPFLAGS =-DROUT -I../inst/include/ @PKG_CPPFLAGS@ -DBOOST_NO_AUTO_PTR 
25 12
 
13
+RHDF5_LIBS= $(shell echo 'Rhdf5lib::pkgconfig("PKG_CXX_LIBS")'|\
14
+    "${R_HOME}/bin/R" --vanilla --slave)
15
+
16
+PKG_LIBS = `${R_HOME}/bin/Rscript -e "cytolib:::cytolib_LdFlags()"` $(RHDF5_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) @PKG_LIBS@   
26 17
 
27
-PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) @PKG_LIBS@ ${h5lib} 
18
+