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[])
1961
1961
int err = 0 ;
1962
1962
if (to_jit) {
1963
1963
#ifdef HAVE_LFORTRAN_LLVM
1964
- if (backend != Backend::llvm)
1964
+ if (backend != Backend::llvm) {
1965
1965
std::cerr << " JIT option is only available with LLVM backend" << std::endl;
1966
-
1966
+ return 1 ;
1967
+ }
1967
1968
compiler_options.emit_debug_info = false ;
1968
1969
compiler_options.emit_debug_line_column = false ;
1969
1970
compiler_options.generate_object_code = false ;
@@ -1972,6 +1973,7 @@ int main(int argc, char *argv[])
1972
1973
#else
1973
1974
std::cerr << " Just-In-Time Compilation of Python files requires the LLVM backend to be enabled."
1974
1975
" Recompile with `WITH_LLVM=yes`." << std::endl;
1976
+ return 1 ;
1975
1977
#endif
1976
1978
}
1977
1979
if (backend == Backend::x86) {
You can’t perform that action at this time.
0 commit comments