opencog / atomspace

The OpenCog (hyper-)graph database and graph rewriting system
https://wiki.opencog.org/w/AtomSpace
Other
796 stars 225 forks source link

Compile *.scm files and install the *.go files #2945

Closed linas closed 2 years ago

linas commented 2 years ago

Currently, the first time you start the atomspace, several minutes will be spend compiling the *.scm files for the first time. This makes the first start slow. It would be better if the compile happened during the CMake stage, and the resulting *.go files were installed.

linas commented 2 years ago

The work needed for this has been mostly completed in pull reqs #2949 #2950 #2951 However, one issue remains:

If a module uses the MODULE_DESTINATION keyword, then the compiled module will be installed to the incorrect location. Some new keyword is needed, or else some extra-clever guessing.

linas commented 2 years ago

Closing; all remaining work completed in #2951