File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5454 -DCMAKE_INSTALL_PREFIX="$PREFIX" \
5555 -DCMAKE_FIND_ROOT_PATH="$PREFIX" \
5656 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
57+ -DXEUS_OCTAVE_PKG_REBUILD=ON \
5758 -DCMAKE_VERBOSE_MAKEFILE=ON
5859
5960 emmake make -j${{ env.ncpus }} install
6566 --XeusAddon.prefix=${{ env.PREFIX }} \
6667 --XeusAddon.mounts=$PREFIX/share/octave:/share/octave \
6768 --XeusAddon.mounts=$PREFIX/share/xeus-octave:/share/xeus-octave \
69+ --XeusAddon.default_channels=https://repo.prefix.dev/emscripten-forge-dev \
70+ --XeusAddon.default_channels=https://repo.prefix.dev/conda-forge \
6871 --contents notebooks/xeus-octave-wasm.ipynb \
6972 --output-dir dist
7073
Original file line number Diff line number Diff line change @@ -440,7 +440,8 @@ void xoctave_interpreter::configure_impl()
440440#ifdef XEUS_OCTAVE_PKG_REBUILD
441441 // Run pkg rebuild upon starting the kernel
442442 std::string pkg_rebuild (" pkg rebuild" );
443- m_octave_interpreter.eval_string (pkg_rebuild);
443+ int status = 0 ;
444+ m_octave_interpreter.eval_string (pkg_rebuild, true , status);
444445#endif
445446
446447 // Fix disp function and clear display function
You can’t perform that action at this time.
0 commit comments