Print this page
9128 cw(1onbld) should be able to run multiple shadows
9129 file-locking tests shouldn't build multiple source files in one compiler invocation
9130 DTrace tst.gcc.d isn't useful
9132 cw(1onbld) shouldn't shadow pure preprocessing
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed? by: Yuri Pankov <yuripv@yuripv.net>
Reviewed? by: Robert Mustacchi <rm@joyent.com>
Reviewed? by: Jason King <jason.king@joyent.com>

*** 239,284 **** # # Targets for reporting compiler versions; nightly uses these. # cc-version: ! @if $($(MACH)_CC) -_versions >/dev/null 2>/dev/null; then \ ! $(ECHO) 32-bit compiler; \ $(ECHO) $($(MACH)_CC); \ ! $($(MACH)_CC) -_versions 2>&1 | \ ! $(EGREP) '^(cw|cc|gcc|primary|shadow)'; \ ! else \ ! __COMPILER=`$($(MACH)_CC) -_compiler 2>/dev/null || $(TRUE)`;\ ! if [ -z "$$__COMPILER" ]; then \ ! $(ECHO) No 32-bit compiler found; \ ! exit 1; \ ! else \ ! $(ECHO) 32-bit compiler; \ ! $(ECHO) $($(MACH)_CC); \ ! $(ECHO) $$__COMPILER; \ ! $($(MACH)_CC) -V 2>&1 | head -1; \ ! fi; \ ! fi cc64-version: ! @if $($(MACH64)_CC) -_versions >/dev/null 2>/dev/null; then \ ! $(ECHO) 64-bit compiler; \ ! $(ECHO) $($(MACH64)_CC); \ ! $($(MACH64)_CC) -_versions 2>&1 | \ ! $(EGREP) '^(cw|cc|gcc|primary|shadow)'; \ ! else \ ! __COMPILER=`$($(MACH64)_CC) -_compiler 2>/dev/null || $(TRUE)`;\ ! if [ -z "$$__COMPILER" ]; then \ ! $(ECHO) No 64-bit compiler found; \ ! exit 1; \ ! else \ ! $(ECHO) 64-bit compiler; \ ! $(ECHO) $($(MACH64)_CC); \ ! $(ECHO) $$__COMPILER; \ ! $($(MACH64)_CC) -V 2>&1 | head -1; \ ! fi; \ ! fi java-version: @if [ -x "$(JAVAC)" ]; then \ $(ECHO) $(JAVAC); \ $(JAVA_ROOT)/bin/java -fullversion 2>&1 | head -1; \ --- 239,256 ---- # # Targets for reporting compiler versions; nightly uses these. # cc-version: ! @$(ECHO) 32-bit compiler; \ $(ECHO) $($(MACH)_CC); \ ! $(CW) --versions $(CW_CC_COMPILERS) 2>&1 cc64-version: ! @$(ECHO) 64-bit compiler; \ ! $(ECHO) $($(MACH)_CC); \ ! $(CW) --versions $(CW_CC_COMPILERS) 2>&1 java-version: @if [ -x "$(JAVAC)" ]; then \ $(ECHO) $(JAVAC); \ $(JAVA_ROOT)/bin/java -fullversion 2>&1 | head -1; \