LMAKE_SERVER

NAME
SYNOPSIS
DESCRIPTION
EXIT STATUS
EXAMPLES
FILES
SEE ALSO
COPYRIGHT

NAME

lmake_server - the server that actually executes lmake commands

SYNOPSIS

lmake_server [OPTION]... [FILE]...

DESCRIPTION

lmake_server actually executes lmake commands, as well as ldebug, lmark and lshow. It takes no options nor arguments. Supported ones are reserved for internal use. It may be useful for performance reasons (for example if a lot of lshow commands are issued) or to ensure it runs on a dedicated host.

EXIT STATUS

lmake_server exits with a status of zero if all commands were executed. Else it exits with a non-zero status:

1

some targets could not be built

2

internal error, should not occur

3

Lmakefile.py could not be read or contained an error

4

server could not be started

5

internal repo state was inconsistent

6

repo need to be cleaned, e.g. with git clean -ffdx

7

adequate permissions were missing, typically write access

8

server crashed, should not occur

10

some syscall failed

11

bad usage : command line options and arguments coul not be parsed

12

bad repo version, repo need to be cleaned, e.g. with git clean -ffdx

EXAMPLES

lmake_server

FILES

The files Lmakefile.py or Lmakefile/__init__.py are searched in the current dir and in parent dirs. If a single one is found, this determines the root of the repo. If several are found, the existence of an LMAKE dir is checked. If a single one is found, this determines the root of the repo. In other cases, lmake_server will not start.

SEE ALSO

lautodep(1), lcache_repair(1), lcache_server(1), lcheck_deps(1), lcodec_repair(1), lcollect(1), ldebug(1), ldecode(1), ldepend(1), lencode(1), lforget(1), lmake(1), lmark(1), lmake_repair(1), lrun_cc(1), lshow(1), ltarget(1), xxhsum(1)

The python module lmake.

The full open-lmake documentation in <open-lmake-installation-dir>/docs/index.html.

COPYRIGHT

Copyright © 2023-2025, Doliam. This file is part of open-lmake.

open-lmake is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.

open-lmake is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.