File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
app/src/main/java/openscience/crowdsource/video/experiments Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -932,20 +932,21 @@ public void println(String text) {
932932 String openCLlibPath = null ;
933933 openCLlibPath = patchOpenCLIfRequired ();
934934
935- String viennaclCachePath = "" ;
936-
937935 if (openCLlibPath != null ) {
938936 libPath = libPath + ":" + openCLlibPath ;
939- viennaclCachePath = localAppPath + File .separator + "viennacl_cache" + File .separator ;
940- File appfp = new File (viennaclCachePath );
941- if (!appfp .exists ()) {
942- if (!appfp .mkdirs ()) {
943- publishProgress ("\n Error creating dir (" + viennaclCachePath + ") ..." );
944- return null ;
945- }
946- }
937+ }
947938
939+ String viennaclCachePath = "" ;
940+
941+ viennaclCachePath = localAppPath + File .separator + "viennacl_cache" + File .separator ;
942+ File appfp = new File (viennaclCachePath );
943+ if (!appfp .exists ()) {
944+ if (!appfp .mkdirs ()) {
945+ publishProgress ("\n Error creating dir (" + viennaclCachePath + ") ..." );
946+ return null ;
947+ }
948948 }
949+
949950 String [] scenarioEnv = {
950951 "CT_REPEAT_MAIN=" + String .valueOf (1 ),
951952 "LD_LIBRARY_PATH=" + libPath + ":$LD_LIBRARY_PATH" ,
You can’t perform that action at this time.
0 commit comments