Forum Discussion
Altera_Forum
Honored Contributor
9 years agoQuartus failed to run inside Docker (Linux)
Hello! I'm trying to implement our small automated testing & build system inside company. To do so, we decided to use Docker and Debian 8.x as base image. I'm able to build my simple demo project ...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I ... eventually found https://github.com/chriz2600/quartus-lite. The interesting thing about their implementation is that they're using tcmalloc (http://goog-perftools.sourceforge.net/doc/tcmalloc.html) instead of the stock malloc, which is unusual enough that I had to try it. Sure enough, installing libtcmalloc-minimal4 and then LD_PRELOADing it did the trick:
export LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4
${QUARTUS_PATH}/nios2eds/nios2_command_shell.sh ./build.sh -r ${_revision} -s ${_size}
--- Quote End --- This worked for me too, using an Ubuntu 16.04 Docker image. Thank you for letting us know - you've saved me a lot of time.