Download Latest Version 1.0.1 Long-term Support source code.zip (229.9 kB)
Email in envelope

Get an email when there's a new version of jluna

Home / v0.9.1
Name Modified Size InfoDownloads / Week
Parent folder
Cleaner C Interface (v0.9.1) source code.tar.gz 2022-06-23 129.3 kB
Cleaner C Interface (v0.9.1) source code.zip 2022-06-23 157.0 kB
README.md 2022-06-23 1.0 kB
Totals: 3 Items   287.3 kB 0

This release merges the c_adapter into the jluna shared library. jluna::initializes signature was modified. It is now:

:::cpp
 void initialize(
      size_t n_threads,    // number of threads to initialize julia with, default: 1
      bool suppress_log, // should logging be disabled, default: false
      const std::string& jluna_shared_library_path, // path to libjluna.so, or "" to use default path
      const std::string& julia_image_path                // path to julia image, or "" to use default image
  )

Please make sure to delete any old libjluna_c_adapter.so:

:::bash
cd <path to shared library install directory>
rm libjluna_c_adapter.so # pre- and suffix are platform dependent

Then do a fresh compile:

:::bash
# in jluna directory
cd jluna
rm -r build
mkdir build
cd build
cmake .. -DJULIA_BINDIR=$(julia -e "println(Sys.BINDIR)")
make install

Other than this, only the documentation was updated to reflect these changes.

Source: README.md, updated 2022-06-23