Conanfile.py stalling while consolidating compiler dependencies

59 views
Skip to first unread message

Dave Singh

unread,
Aug 15, 2022, 2:33:41 PM8/15/22
to Basilisk Forum
Hi all,

I'm running into an error where while I am running conanfile.py, the terminal stops and I have to end the program to do anything else. This happens during the following lines:

Consolidate compiler generated dependencies of target pyswice
[100%] Linking CXX shared module Basilisk/topLevelModules/_pyswice.so
[100%] Built target pyswice
[100%] Built target OverwriteSwig

I've tried shutting off the machine and retrying, and it stalls at this same line. I'm hoping someone else has run into this/ a similar issue and knows of a fix. Thanks for your help! 

benjamin....@u-space.fr

unread,
Aug 16, 2022, 1:47:28 AM8/16/22
to Basilisk Forum
Hi Dave, 

The compilation was probably doing just fine although it looked as if it had stalled. The ongoing activity was likely to be the compilation steps specific to the messaging library. This should be clearer if you look at your activity manager (at least on Linux) and look for the exact command being executed by gcc/swig.

Long build times have become quite typical for Release builds (those you get from running python conanfile.py), at least for non M1-mac users.  Build times in the order of 30 minutes are not uncommon.

What are the specifications of the processor on the system used to compile basilisk ?

Note that passing the --buildType Debug options to the conanfile should speed up the compilation tremendously and cut it down to around 10 minutes, though Basilisk will be slower at runtime.

Scott Carnahan

unread,
Sep 12, 2022, 4:59:50 PM9/12/22
to Basilisk Forum
Hey Dave, 

At CesiumAstro we're building now with clang and ninja in wsl ubuntu and seeing significant improvements over the default g++ build with make.

-Scott

Reply all
Reply to author
Forward
0 new messages