Opened 9 years ago
Last modified 9 years ago
#3389 new defect
make [dist]clean broken
Reported by: | Owned by: | Martin Sjölund | |
---|---|---|---|
Priority: | critical | Milestone: | Future |
Component: | Build Environment | Version: | trunk |
Keywords: | Cc: |
Description
I've been trying to switch compilers for the OMC sub project in a checked out git tree (last pull on July 23rd). It seems that issuing a make clean or make distclean does not properly clean all directories and dependencies, neither in the super project nor in the OMCompiler project. Some 3rd party packages are not cleaned properly and it seems that some CMake cache files still exist that prevent the new compiler from actually being changed. That is a pain and consumes a lot of time, since the build might succeed but the linking of models fails due to dependencies pulled in by runtime libraries still being built with the old compiler. In this state, the build system is unusable.
This is true and we should fix it. But you can do as we do for our builds: