mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-05-15 20:01:20 +00:00
* update roberta * update roberta & readme * update roberta & readme * update roberta & readme
10 lines
276 B
Makefile
10 lines
276 B
Makefile
CXXFLAGS += -O3 -Wall -shared -std=c++14 -fPIC -fdiagnostics-color
|
|
CPPFLAGS += $(shell python3 -m pybind11 --includes)
|
|
LIBNAME = mask
|
|
LIBEXT = $(shell python3-config --extension-suffix)
|
|
|
|
default: $(LIBNAME)$(LIBEXT)
|
|
|
|
%$(LIBEXT): %.cpp
|
|
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $< -o $@
|