Skip to content

doxygen: fix parallel build failure #1756

Merged
merged 1 commit into from
Mar 3, 2020
Merged

Commits on Mar 2, 2020

  1. doxygen: fix parallel build failure

    - fix build race condition
    - fixed SRCURL
    
    with parallel build ( -j16 ) this happened:
    
    ```
    In file included from /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/src/vhdljjparser.h:23:0,
                     from /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/vhdlparser/VhdlParser.h:8,
                     from /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/vhdlparser/VhdlParser.cc:2:
    /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/vhdlparser/VhdlParser.cc: In member function ‘QCString vhdl::parser::VhdlParser::library_clause()’:
    /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/src/config.h:35:32: error: ‘ConfigValues’ has not been declared
     #define Config_getBool(val)   (ConfigValues::instance().val)
                                    ^
    /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/vhdlparser/VhdlParser.cc:5720:22: note: in expansion of macro ‘Config_getBool’
     if ( parse_sec==0 && Config_getBool(SHOW_INCLUDE_FILES) )
                          ^~~~~~~~~~~~~~
    /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/vhdlparser/VhdlParser.cc: In member function ‘QCString vhdl::parser::VhdlParser::use_clause()’:
    /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/src/config.h:35:32: error: ‘ConfigValues’ has not been declared
     #define Config_getBool(val)   (ConfigValues::instance().val)
                                    ^
    /dev/shm/mxqd/mnt/job/19694203/doxygen-1.8.17-0/buildroot/doxygen/doxygen-1.8.17-0/source/vhdlparser/VhdlParser.cc:10420:43: note: in expansion of macro ‘Config_getBool’
                          if ( parse_sec==0 && Config_getBool(SHOW_INCLUDE_FILES) )
                                               ^~~~~~~~~~~~~~
    make[2]: *** [vhdlparser/CMakeFiles/vhdlparser.dir/build.make:118: vhdlparser/CMakeFiles/vhdlparser.dir/VhdlParser.cc.o] Error 1
    
    ```
    wwwutz committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    d25bd46 View commit details
    Browse the repository at this point in the history