ifdef do_it CFLAGS += -fno-strict-overflow endif 原文: http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
ifeq ($(OSNAME), CYGWIN_NT) NEED_PIC = 0 NO_EXPRECISION = 1 endif ifneq ($(OSNAME), WINNT) ifneq ($(OSNAME), CYGWIN_NT) ifneq ($(OSNAME), Interix) ifneq ($(OSNAME), Android) ifdef SMP EXTRALIB += -lpthread endif endif endif endif endif # ifeq logical or ifeq ($(OSNAME...
ifeq ($(ARCH), x86) ifndef BINARY NO_BINARY_MODE = 1 endif ifeq ($(CORE), generic) NO_EXPRECISION = 1 endif ifndef NO_EXPRECISION ifeq ($(F_COMPILER), GFORTRAN) # ifeq logical or. GCC or LSB ifeq ($(C_COMPILER), $(filter $(C_COMPILER),GCC LSB)) EXPRECISION...
ifeq ($(GCC_MINOR),$(filter $(GCC_MINOR),4 5)) filter X, A B will return those of A,B that are equal X. A variation of this is ifneq (,$(filter $(GCC_MINOR),4 5)) where a negative comparison against an empty string is used instead (filter will return en empty string if ...
#ifeq logical or ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD NetBSD)) @echo "SET(OpenBLAS_LIBRARIES ${OPENBLAS_LIBRARY_DIR}/$(LIBPREFIX).so)" >> $(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG) endif ifeq ($(OSNAME), $(filter $(OSNAME),WINNT CYGWIN_NT)) @ec...
dotnet_logical \ dotnet_nullderef-interproc \ dotnet_nullderef-simple \ dotnet_nullparam \ dotnet_numcomparison \ dotnet_reference \ dotnet_starg \ dotnet_threadsafetyviolation ifeq ($(BUILD_C_ANALYZERS)+$(BUILD_JAVA_ANALYZERS),yes+yes) ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
#ifeq logical or ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD NetBSD OpenBSD DragonFly)) @echo "SET(OpenBLAS_LIBRARIES \$${_OpenBLAS_ROOT_DIR}/lib/$(LIBPREFIX).so)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" endif ifeq ($(OSNAME), $(filter $...
CLANGEXTRACFLAGS += -Wtautological-type-limit-compare CLANGEXTRACFLAGS += -Wnull-pointer-arithmetic CLANGEXTRACFLAGS += -Woverride-init CLANGEXTRACFLAGS += -Wshift-negative-value CLANGEXTRACFLAGS += -Wimplicit-fallthrough ifeq ($(CLANGEXTRA),1) ...
ifeq ($(USE_OPENMP), 1) #check ifeq ($(USE_THREAD), 0) $(error OpenBLAS: Cannot set both USE_OPENMP=1 and USE_THREAD=0. The USE_THREAD=0 is only for building single thread version.) endif # ifeq logical or. GCC or LSB ifeq ($(C_COMPILER), $(filter $(C_COMPILER)...