flatten 20260225
This commit is contained in:
39
tjp/Make/Makefile.base.cuda
Executable file
39
tjp/Make/Makefile.base.cuda
Executable file
@@ -0,0 +1,39 @@
|
||||
###################################
|
||||
# License: Modified MIT (NON-AI)
|
||||
# Copyright 2025 Timothy Prepscius
|
||||
# See the LICENSE file in the root directory for license information.
|
||||
###################################
|
||||
|
||||
ifeq (Cuda,$(SYS_NAME))
|
||||
|
||||
# Somehow on linux dockers, under colima, dependencies
|
||||
# cause problems -
|
||||
# USE_DEPENDENCIES := 0
|
||||
|
||||
GCCC := nvcc
|
||||
|
||||
AR := ar
|
||||
CC := ${GCCC}
|
||||
CPP := ${GCCC}
|
||||
MM := ${GCCC}
|
||||
M := ${GCCC}
|
||||
LINK := ${GCCC}
|
||||
|
||||
_FLAGS += \
|
||||
-DSYS_LINUX \
|
||||
-DSYS_X86 \
|
||||
-DUSE_CUDA \
|
||||
-ldl -lm -lstdc++ -pthread \
|
||||
-Wno-stringop-overflow \
|
||||
-Wno-stringop-overread \
|
||||
-fno-omit-frame-pointer
|
||||
|
||||
# not needed with newer boost
|
||||
# -DBOOST_NO_CXX98_FUNCTION_BASE=1
|
||||
# -Wno-changes-meaning does not work
|
||||
|
||||
LDFLAGS += -L /usr/local/lib
|
||||
|
||||
PLATFORM_LIBS := -ldl -lm -lstdc++ -pthread
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user