3
0

build.ninja 1.2 KB

1234567891011121314151617181920
  1. ninja_required_version = 1.3
  2. cxx = c++
  3. cflags = -pthread -B /root/anaconda3/envs/swin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/anaconda3/envs/swin/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/swin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/swin/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/swin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.6/include -I/root/anaconda3/envs/swin/include/python3.7m -c
  4. post_cflags = -Wno-sign-compare -Wno-unused-but-set-variable -Wno-terminate -Wno-unused-function -Wno-strict-aliasing -DUSE_GPU -DUSE_NCCL -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=tutel_custom_kernel -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  5. ldflags =
  6. rule compile
  7. command = $cxx -MMD -MF $out.d $cflags -c $in -o $out $post_cflags
  8. depfile = $out.d
  9. deps = gcc
  10. build /data/fengyang/sunwin/code/Wildfire/tutel/build/temp.linux-x86_64-cpython-37/./tutel/custom/custom_kernel.o: compile /data/fengyang/sunwin/code/Wildfire/tutel/tutel/custom/custom_kernel.cpp