mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-04-30 12:45:33 +00:00
* Add handson to ColossalAI. * Change names of handsons and edit sequence parallel example. * Edit wrong folder name * resolve conflict * delete readme
10 lines
279 B
Makefile
10 lines
279 B
Makefile
CXXFLAGS += -O3 -Wall -shared -std=c++11 -fPIC -fdiagnostics-color
|
|
CPPFLAGS += $(shell python3 -m pybind11 --includes)
|
|
LIBNAME = helpers
|
|
LIBEXT = $(shell python3-config --extension-suffix)
|
|
|
|
default: $(LIBNAME)$(LIBEXT)
|
|
|
|
%$(LIBEXT): %.cpp
|
|
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $< -o $@
|