File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1961,9 +1961,10 @@ int main(int argc, char *argv[])
19611961 int err = 0 ;
19621962 if (to_jit) {
19631963#ifdef HAVE_LFORTRAN_LLVM
1964- if (backend != Backend::llvm)
1964+ if (backend != Backend::llvm) {
19651965 std::cerr << " JIT option is only available with LLVM backend" << std::endl;
1966-
1966+ return 1 ;
1967+ }
19671968 compiler_options.emit_debug_info = false ;
19681969 compiler_options.emit_debug_line_column = false ;
19691970 compiler_options.generate_object_code = false ;
@@ -1972,6 +1973,7 @@ int main(int argc, char *argv[])
19721973#else
19731974 std::cerr << " Just-In-Time Compilation of Python files requires the LLVM backend to be enabled."
19741975 " Recompile with `WITH_LLVM=yes`." << std::endl;
1976+ return 1 ;
19751977#endif
19761978 }
19771979 if (backend == Backend::x86) {
You can’t perform that action at this time.
0 commit comments