Skip to content

Failed to build test/cmake1 with remove build server #17

@QianYizhou

Description

@QianYizhou

Hi,

Thanks a lot for your project, really powerful!

I tested "nocc/tests/dt/cmake1" in master branch (commit: 73b26e5) with a remote build server.

CMake version: 3.18.6
OS (local and remote): Ubuntu 20.04

In the nocc/tests/dt/cmake1/build.sh, I adjust NOCC_SERVERS to the remote build server IP, and I encoutered the error below:

In file included from <command-line>:
/home/test_nocc/nocc/tests/dt/cmake1/build/CMakeFiles/example.dir/cmake_pch.hxx:5:10: fatal error: /home/test_nocc/nocc/tests/dt/cmake1/src/all-headers.h: No such file or directory
    5 | #include "/home/test_nocc/nocc/tests/dt/cmake1/src/all-headers.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Do I need to do some preparations for the PCH headers? Currently I have to copy the header to the remote to fix the issue.

Thanks again for your power tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions