search for: ifeq

Displaying 20 results from an estimated 415 matches for "ifeq".

2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...------------------------------------ +# Locations of shared libraries +#-------------------------------------------------------------------- + +SharedPrefix := lib +SharedDir := $(LibDir) +LLVMSharedDir := $(LLVMLibDir) + +# Win32.DLL prefers to be located on the "PATH" of binaries. +ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) + SharedPrefix := + SharedDir := $(ToolDir) + LLVMSharedDir := $(LLVMToolDir) +endif + +ifeq ($(HOST_OS),Cygwin) + SharedPrefix := cyg +endif + +#-------------------------------------------------------------------- # LLVM Capable Compiler...
2016 Oct 20
0
[PATCH] Fix for crash with certain EFIs
...Makefile: add -mno-red-zone only to efi64 objects x86_64 EFI requires that all sources are compiled without red zone, which is not supported by the Windows ABI. Without this, syslinux crashes on some UEFI implementations. --- syslinux.orig/mk/com32.mk +++ syslinux/mk/com32.mk @@ -29,6 +29,9 @@ ifeq ($(strip $(ARCH)),x86_64) GCCOPT += $(call gcc_ok,-m64,) GCCOPT += $(call gcc_ok,-march=x86-64) +ifeq ($(FWCLASS),EFI) + GCCOPT += $(call gcc_ok,-mno-red-zone) +endif #let the stack-boundary default to whatever it is on 64bit #GCCOPT += $(call gcc_ok,-mpreferre...
2010 Aug 05
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Hi Takumi, > Any feedbacks are welcome. > Have fun! This seems to be pretty useful addition to LLVM on windows! And it seems the only painless way to make plugins working, yay! For me the patch looks pretty good. One minor thing: could you please rename SharedDir => SharedLibDir Thanks! -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...--------------------------- +# Locations of shared libraries +#-------------------------------------------------------------------- + +SharedPrefix := lib +SharedLibDir := $(LibDir) +LLVMSharedLibDir := $(LLVMLibDir) + +# Win32.DLL prefers to be located on the "PATH" of binaries. +ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) + SharedLibDir := $(ToolDir) + LLVMSharedLibDir := $(LLVMToolDir) + + ifeq ($(HOST_OS),Cygwin) + SharedPrefix := cyg + else + SharedPrefix := + endif +endif + +#-------------------------------------------------------------------- #...
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
..._64, powerpc, etc. -PROC := $(shell uname -p) # returns Linux, Darwin, FreeBSD, etc. -OS := $(shell uname -s) +ifdef OS_OVERRIDE + OS := $(OS_OVERRIDE) +else + OS := $(shell uname -s) +endif +# returns i386, x86_64, powerpc, etc. +ifdef PROC_OVERRIDE + PROC := $(PROC_OVERRIDE) +else + ifeq ($(findstring MINGW,$(OS)),MINGW) + PROC := i386 # failsafe + # ifeq (mingw32,$(shell gcc -dumpmachine)) # MinGW (mainline): mingw32 + ifeq ($(findstring i686,$(shell gcc -dumpmachine)),i686) # MinGW-w64: i686-w64-mingw32 + USE_ICONV := 0 + else ifeq ($(find...
2012 Dec 27
4
[PATCH] Makefile.lite: Fix building with MSYS and MinGW(-w64), Improvements
..._64, powerpc, etc. -PROC := $(shell uname -p) # returns Linux, Darwin, FreeBSD, etc. -OS := $(shell uname -s) +ifdef OS_OVERRIDE + OS := $(OS_OVERRIDE) +else + OS := $(shell uname -s) +endif +# returns i386, x86_64, powerpc, etc. +ifdef PROC_OVERRIDE + PROC := $(PROC_OVERRIDE) +else + ifeq ($(findstring MINGW,$(OS)),MINGW) + PROC := i386 # failsafe + # ifeq (mingw32,$(shell gcc -dumpmachine)) # MinGW (mainline): mingw32 + ifeq ($(findstring i686,$(shell gcc -dumpmachine)),i686) # MinGW-w64: i686-w64-mingw32 + USE_ICONV := 0 + else ifeq ($(find...
2005 Mar 28
1
Problem installing SpanDSP Makefile.patch
...o app_zapscan.so" ; fi) APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so a pp_zapbarge.so app_zapscan.so" ; fi) APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; fi) CFLAGS+=-fPIC ifeq ($(USE_POSTGRES_VM_INTERFACE),1) CFLAGS+=-DUSEPOSTGRESVM endif --- 41,53 ---- APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so a pp_zapbarge.so app_zapscan.so" ; fi) APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then...
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...m/clang_linux.mk~ 2013-08-21 06:27:38.000000000 +0000 +++ projects/compiler-rt/make/platform/clang_linux.mk 2013-08-21 11:16:55.891621025 +0000 @@ -41,7 +41,18 @@ SupportedArches += x86_64 endif else - SupportedArches := x86_64 + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32 + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32) + SupportedArches := x32 + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) + SupportedArches += x86_64 + endif + else + SupportedArches := x86_64 + ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0) + Supp...
2004 Jun 21
1
Problem compiling fax applications
...**** #APPS+=app_sql_odbc.so APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi) #APPS+=$(shell if [ -f /usr/include/zap.h ]; then echo "app_rpt.so" ; fi) CFLAGS+=-fPIC ifeq ($(USE_POSTGRES_VM_INTERFACE),1) CFLAGS+=-DUSEPOSTGRESVM endif --- 35,47 ---- #APPS+=app_sql_odbc.so APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi) #APPS+=$(shell if [ -f /usr...
2016 Oct 19
4
[PATCH] Fix for crash with certain EFIs
Hi Ady, Would it work if we removed "ifdef EFI_BUILD" condition and just add -mno-red-zone for all x86_64 builds? If not, do you have any ideas how to pass this flag? This could work, because the patch is adding the -mno-red-zone flag only for x86_64 builds, which are only used in the form of the efi64 target. The efi32 and bios targets are both 32-bit. BTW. I also tried 6.04-pre1 and
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...+0000 > +++ projects/compiler-rt/make/platform/clang_linux.mk 2013-08-21 > 11:16:55.891621025 +0000 > @@ -41,7 +41,18 @@ > SupportedArches += x86_64 > endif > else > - SupportedArches := x86_64 > + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32 > + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32) > + SupportedArches := x32 > + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) > + SupportedArches += x86_64 > + endif > + else > + SupportedArches := x86_64 > + ifeq ($(call TryCompile,$(CC),$...
2012 Jan 27
4
[PATCH] Tools: build tests
.... Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> diff -r 2c6ff08e8b5b -r 7d62108a8936 Config.mk --- a/Config.mk +++ b/Config.mk @@ -240,6 +240,7 @@ OCAML_TOOLS ?= y CONFIG_MINITERM ?= n CONFIG_LOMOUNT ?= n CONFIG_SYSTEM_LIBAIO ?= y +CONFIG_TESTS ?= y ifeq ($(OCAML_TOOLS),y) OCAML_TOOLS := $(shell ocamlopt -v > /dev/null 2>&1 && echo "y" || echo "n") diff -r 2c6ff08e8b5b -r 7d62108a8936 tools/Makefile --- a/tools/Makefile +++ b/tools/Makefile @@ -45,6 +45,7 @@ SUBDIRS-y += remus SUBDIRS-$(CONFIG_X86) += xenpagi...
2014 Mar 03
3
gsm codec compile
...be appreciated. make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' ?? [AS] src/k6opt.s -> src/k6opt.o Assembler messages: Error: unknown architecture `armv6l' Error: unrecognized option -march=armv6l make[2]: *** [src/k6opt.o] Error 1 ? Here are the lines in the Makefile - ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b arm5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l arm5b armv5b armv61 armv7l s390 )) OPTIMIZE+=-marc...
2013 May 24
10
[PATCH 0/4] ARM/early-printk: Improve reusability and add Calxeda support
The current early-printk support for ARM is rather hard-coded, making it hard to add machines or tweak settings. This series slightly moves some code to gather UART settings in xen/arch/arm/Rules.mk instead of the actual .c files. Also it allows two different machines with different settings to share the same driver, which the last patch exploits to add support the Calxeda Midway hardware. This
2016 Oct 17
1
[PATCH] Fix for crash with certain EFIs
...: add -mno-red-zone to all efi64 objects x86_64 EFI requires that all sources are compiled without red zone, which is not supported by the Windows ABI. Without this, syslinux crashes on some UEFI implementations. --- syslinux-6.03-orig/mk/com32.mk +++ syslinux-6.03/mk/com32.mk @@ -29,6 +29,9 @@ ifeq ($(strip $(ARCH)),x86_64) GCCOPT += $(call gcc_ok,-m64,) GCCOPT += $(call gcc_ok,-march=x86-64) +ifdef EFI_BUILD + GCCOPT += $(call gcc_ok,-mno-red-zone) +endif #let the stack-boundary default to whatever it is on 64bit #GCCOPT += $(call gcc_ok,-mpreferred-stac...
2020 Mar 27
2
[PATCH v2 1/5] Kbuild: add support for clang builds
...dex afc9a546feca..411d7ea9bea6 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -107,8 +107,15 @@ KLIBCOBJCOPY := $(OBJCOPY) KLIBCOBJDUMP := $(OBJDUMP) # klibc include paths -KLIBCCPPFLAGS := -nostdinc -iwithprefix include \ - -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \ +ifeq ($(cc-name),clang) +# clang can't find the compiler-specific header <stdarg.h> if -nostdinc +# is specified so we have to omit it along with the -iwithprefix option. +# See b/35394554. +KLIBCCPPFLAGS := +else +KLIBCCPPFLAGS := -nostdinc -iwithprefix include +endif +KLIBCCPPFLAGS...
2004 Aug 12
1
Problem installing Software Fax SpanDSP support into Asterisk
...* *** 35,44 **** #APPS+=app_sql_odbc.so APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi) #APPS+=$(shell if [ -f /usr/include/zap.h ]; then echo "app_rpt.so" ; fi) CFLAGS+=-fPIC ifeq ($(USE_POSTGRES_VM_INTERFACE),1) CFLAGS+=-DUSEPOSTGRESVM endif --- 35,47 ---- #APPS+=app_sql_odbc.so APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi) #APPS+=$(shell if [ -f /usr/include/za...
2008 Jan 08
2
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
...t; > include $(LEVEL)/Makefile.config > > > # for ClamAV these are in clamav-config.h, but since we can't run > configure, we have to define them here > > > # -- OS macros -- > # It is especially important to get this correctly defined for > windows. > > ifeq ($(OS),Darwin) > CFLAGS += -DC_DARWIN > endif > ifeq ($(OS),AIX) > CFLAGS += -DC_AIX > endif > ifeq ($(OS), IRIX) > CFLAGS += -DC_IRIX > endif > ifeq ($(OS), Cygwin) > CFLAGS += -DC_CYGWIN > endif > ifeq ($(OS), FreeBSD) > CFLAGS += -DC_BSD >...
2007 Dec 18
0
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
Chris Lattner wrote: > One way to do this is to add a "cut down" version of the app to the > test suite. I disabled optional features in clamav-config.h > >> 2. GPL license. Chris? > > Any open source license that allows unrestricted redistribution is > fine in llvm-test Ok, I have created a script that automatically checks out ClamAV 0.92-stable source code
2004 Jun 23
3
[LLVMdev] Linearscan allocator bug?
...ur 'if <>0 goto LBB11;' things will > probably magically start working for you, as the copies will be inserted > BEFORE the branch instead of after it. Hmm.. this is what I have in td file already: let isTerminator = 1 in def GOTO : Unknown<"goto">; def IFEQ : Unknown<"if =0 goto">; def IFNEQ : Unknown<"if <>0 goto">; ..... Should this work? > Also, if you haven't already, you might want to teach TargetInstrInfo > that '=' is a move instruction (implement isMoveInstr), so instructinos &g...