Permalink
Browse files

scilab: remove debug stuff

  • Loading branch information...
1 parent 090a2e0 commit 386d9f2a54f6d072d1a1c1930c47459cd6897abc @smarchetto smarchetto committed Jul 2, 2014
Showing with 4 additions and 6 deletions.
  1. +2 −2 Examples/Makefile.in
  2. +2 −4 Source/Modules/scilab.cxx
View
@@ -1740,7 +1740,7 @@ scilab: $(SRCDIR_SRCS)
fi \
fi \
fi
- env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', 3); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
+ env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', -1); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
test "x$(SRCS)" = "x$(SRCDIR_SRCS)" || rm $(SRCS)
# ----------------------------------------------------------------
@@ -1778,7 +1778,7 @@ scilab_cpp: $(SRCDIR_SRCS)
fi \
fi \
fi
- env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', 3); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
+ env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', -1); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
test "x$(SRCS)" = "x$(SRCDIR_SRCS)" || rm $(SRCS)
# -----------------------------------------------------------------
@@ -774,17 +774,15 @@ class SCILAB:public Language {
void startBuilderCode(String *outputFilename) {
builderFunctionCount = 0;
builderCode = NewString("");
- //Printf(builderCode, "mode(-1);\n");
- Printf(builderCode, "mode(3);\n");
+ Printf(builderCode, "mode(-1);\n");
Printf(builderCode, "lines(0);\n"); /* Useful for automatic tests */
// Scilab needs to be in the build directory
Printf(builderCode, "originaldir = pwd();\n");
Printf(builderCode, "builddir = get_absolute_file_path('builder.sce');\n");
Printf(builderCode, "cd(builddir);\n");
- //Printf(builderCode, "ilib_verbose(%s);\n", verboseBuildLevel);
- Printf(builderCode, "ilib_verbose(2);\n", verboseBuildLevel);
+ Printf(builderCode, "ilib_verbose(%s);\n", verboseBuildLevel);
Printf(builderCode, "lib_name = \"%s\";\n", libraryName);

0 comments on commit 386d9f2

Please sign in to comment.