Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove LFortran's AST to ASR and associated tests #258

Merged
merged 4 commits into from
Mar 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove the fortran_kernel
  • Loading branch information
certik committed Mar 19, 2022
commit 309a86382d80abcf9f16c053e3daf5358d0119a4
7 changes: 1 addition & 6 deletions src/bin/lpython.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <libasr/asr_verify.h>
#include <libasr/modfile.h>
#include <libasr/config.h>
#include <lpython/fortran_kernel.h>
#include <libasr/string_utils.h>
#include <lpython/utils.h>
#include <lpython/python_serialization.h>
Expand Down Expand Up @@ -1365,12 +1364,8 @@ int main(int argc, char *argv[])
// }

if (kernel) {
#ifdef HAVE_LFORTRAN_XEUS
return LFortran::run_kernel(arg_kernel_f);
#else
std::cerr << "The kernel subcommand requires LFortran to be compiled with XEUS support. Recompile with `WITH_XEUS=yes`." << std::endl;
std::cerr << "The kernel subcommand is not implemented yet for LPython." << std::endl;
return 1;
#endif
}

// if (mod) {
Expand Down
2 changes: 1 addition & 1 deletion src/lpython/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set(SRC
)
if (WITH_XEUS)
set(SRC ${SRC}
fortran_kernel.cpp
# fortran_kernel.cpp
)
endif()
if (WITH_JSON)
Expand Down
Loading