Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

ch-fromhost --nvidia: deprecate in favor of nVidia CDI #1902

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
86f8cd0
configure.ac stuff for cJSON [skip ci]
reidpr May 15, 2024
5c575a0
docs draft [skip ci]
reidpr May 20, 2024
862fcfa
more build stuff [skip ci]
reidpr May 21, 2024
05b6317
record --device arguments [skip ci]
reidpr May 31, 2024
64766f8
snapshot [skip ci]
reidpr Jun 7, 2024
d3aa024
log in colo(u)r [skip ci]
reidpr Jun 11, 2024
f4037d0
document --color [skip ci]
reidpr Jun 11, 2024
396ab76
implement --color [skip ci]
reidpr Jun 14, 2024
867c532
tidy colors [skip ci]
reidpr Jun 14, 2024
e2e6bad
snapshot [skip ci]
reidpr Jun 18, 2024
a941c9e
parse environment vars seems to work [skip ci]
reidpr Jun 18, 2024
3b9a891
first draft nVidia ldcache hook emulation [skip ci]
reidpr Jun 20, 2024
edc2e46
rm ch_ prefix from C sources [skip ci]
reidpr Jun 21, 2024
03ef95e
snapshot
reidpr Jul 9, 2024
eb00188
uniqify spec list [skip ci]
reidpr Jul 12, 2024
b114c8d
refactor environment variables into new hook framework (untested) [sk…
reidpr Jul 23, 2024
8969842
add and run hooks [skip ci]
reidpr Jul 29, 2024
63d6c51
make it build [skip ci]
reidpr Jul 29, 2024
86aaf56
ok it actually works? [skip ci]
reidpr Jul 29, 2024
c4adb2e
move seccomp into its own file and be a hook [skip ci]
reidpr Jul 31, 2024
a1fe68d
snapshot because I got fed up with manual memory management
reidpr Aug 29, 2024
2ef2430
document new memory management strategy [skip ci]
reidpr Sep 5, 2024
878703e
snapshot of non-zeroing mode
reidpr Sep 12, 2024
607e1b6
basic memory functions [skip ci]
reidpr Sep 12, 2024
04243a9
log memory usage on exit [skip ci]
reidpr Sep 12, 2024
601fc07
add actual libgc [skip ci]
reidpr Sep 13, 2024
83f5260
convert memory management to our wrappers [skip ci]
reidpr Sep 20, 2024
bc811d1
make it build and run [skip ci]
reidpr Sep 30, 2024
a3e454d
make CDI EV hooks work [skip ci]
reidpr Oct 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ a.out
/charliecloud-*/

# debugging crap
core
/build-cache.gv
/build-cache.pdf

Expand Down
16 changes: 9 additions & 7 deletions bin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@

bin_PROGRAMS = ch-checkns ch-run

ch_checkns_SOURCES = ch-checkns.c ch_misc.h ch_misc.c
ch_checkns_SOURCES = ch-checkns.c mem.h mem.c misc.h misc.c

ch_run_SOURCES = ch-run.c ch_core.h ch_core.c ch_misc.h ch_misc.c
ch_run_SOURCES = ch-run.c core.h core.c hook.h hook.c mem.h mem.c misc.h misc.c
if HAVE_JSON
ch_run_SOURCES += json.h json.c
endif
if HAVE_LIBSQUASHFUSE
ch_run_SOURCES += ch_fuse.h ch_fuse.c
ch_run_SOURCES += fuse.h fuse.c
endif
if HAVE_SECCOMP
ch_run_SOURCES += seccomp.h seccomp.c
endif

# additional build flags for ch-run
ch_run_CFLAGS = $(PTHREAD_CFLAGS)
ch_run_LDADD = $(CH_RUN_LIBS)


## Shell scripts - distributed as-is
Expand Down
2 changes: 1 addition & 1 deletion bin/ch-checkns.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <unistd.h>

#include "config.h"
#include "ch_misc.h"
#include "misc.h"


const char usage[] = "\
Expand Down
Loading