Closed agentzh closed 5 months ago
Currently make ... -jN does not work since the Makefile invokes cmake --build instead of $(MAKE) so flags like -jN won't get passed down to the sub-make which does the real work.
make ... -jN
cmake --build
$(MAKE)
-jN
Maybe we can apply a patch like this?
https://gist.github.com/agentzh/6ef6ee15d5e131675dd2992289fc860e
Then we can invoke it on an SMP Linux system like this:
make ... JOBS=$(nproc)
Without parallelism, it is too slow to build bpftime.
Currently
make ... -jN
does not work since the Makefile invokescmake --build
instead of$(MAKE)
so flags like-jN
won't get passed down to the sub-make which does the real work.Maybe we can apply a patch like this?
https://gist.github.com/agentzh/6ef6ee15d5e131675dd2992289fc860e
Then we can invoke it on an SMP Linux system like this:
Without parallelism, it is too slow to build bpftime.