Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenWalnut Core OpenWalnut Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenWalnut
  • OpenWalnut CoreOpenWalnut Core
  • Issues
  • #336

Closed
Open
Created May 08, 2017 by Mathias Goldau@mathOwner

-RM-79-MR-Strange CMake build dependency with WKernel target (often recompiles)

The target WKernel.cpp is compiled even though it was not changed nor any other source file was changed! Reproducing is some kind difficult, I edited two files, saved them compiled and (even then WKernel was issued to recompile) when all was build I (kept my editor open) wait for one hour or so, and just for the reason of completeness I reissued make and this happend:

0#9:17:03#math@ipansen# OpenWalnut/build/debug >make -j2 unittest_WTerminalColor && ./bin/unittest_WTerminalColor
[  0%] [  0%] Copy fixtures of openwalnut from /Users/math/repos/OpenWalnut/src/core/common/test/fixtures to /Users/math/repos/OpenWalnut/build/debug/core/fixtures/.
Creating Version Header /Users/math/repos/OpenWalnut/build/debug/versionHeader/WVersion.h.
[  0%] Built target openwalnut_CopyFixtures_srcXcoreXcommonXtestXfixtures
[  0%] Copy fixtures of openwalnut from /Users/math/repos/OpenWalnut/src/core/dataHandler/test/fixtures to /Users/math/repos/OpenWalnut/build/debug/core/fixtures/.
[  0%] Built target openwalnut_CopyFixtures_srcXcoreXdataHandlerXtestXfixtures
[  0%] Built target OW_generate_version_header
Scanning dependencies of target openwalnut
[  0%] Building CXX object core/CMakeFiles/openwalnut.dir/kernel/WKernel.cpp.o
Linking CXX shared library ../lib/libopenwalnut.dylib
[100%] Built target openwalnut
Linking CXX executable ../bin/unittest_WTerminalColor
[100%] Built target unittest_WTerminalColor
Running 4 tests....OK!
0#10:15:37#math@ipansen# OpenWalnut/build/debug >

I noticed that WKernel is very often compiled new, but I touch it very very seldom!

(from redmine: created on 2011-09-21, closed on 2011-11-17)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking