Added CMake entries for nats.c

This commit is contained in:
Bole Ma 2024-02-12 03:38:10 +08:00
parent 3a2f339e19
commit 0f9a127a8a
4 changed files with 6 additions and 2 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -90,7 +90,11 @@ RUN set -x \
/var/lib/slurmd/qos_usage \ /var/lib/slurmd/qos_usage \
/var/lib/slurmd/fed_mgr_state \ /var/lib/slurmd/fed_mgr_state \
&& chown -R slurm:slurm /var/*/slurm* \ && chown -R slurm:slurm /var/*/slurm* \
&& /sbin/create-munge-key && /sbin/create-munge-key \
&& pushd nats.c \
&& cmake . -DNATS_BUILD_STREAMING=OFF \
&& make install \
&& popd
COPY slurm-prep-pika_v4.c /opt/slurm-prep-pika_v4.c COPY slurm-prep-pika_v4.c /opt/slurm-prep-pika_v4.c
COPY makefile /opt/makefile COPY makefile /opt/makefile

View File

@ -11,7 +11,7 @@
#include <unistd.h> #include <unistd.h>
#include <inttypes.h> #include <inttypes.h>
#include <nats.h> #include <nats/nats.h>
#include "slurm/slurm.h" #include "slurm/slurm.h"
#include "slurm/slurm_errno.h" #include "slurm/slurm_errno.h"

BIN
slurm/.DS_Store vendored

Binary file not shown.