root/nvopencc-2.2.patch

Revision 1, 3.9 KB (checked in by sascha, 3 years ago)

foobar

  • src/be/cg/bbutil.cxx

    diff -u -r cuda_orig/src/be/cg/bbutil.cxx cuda/src/be/cg/bbutil.cxx
    old new  
     1#include <limits.h> 
    12/* 
    23 * Copyright 2002, 2003, 2004, 2005, 2006 PathScale, Inc.  All Rights Reserved. 
    34 */ 
  • src/be/cg/cgdwarf.cxx

    diff -u -r cuda_orig/src/be/cg/cgdwarf.cxx cuda/src/be/cg/cgdwarf.cxx
    old new  
     1#include <limits.h> 
    12/* 
    23 * Copyright 2005-2008 NVIDIA Corporation.  All rights reserved. 
    34 */ 
  • src/common/targ_info/generate/isa_pack_gen.cxx

    diff -u -r cuda_orig/src/common/targ_info/generate/isa_pack_gen.cxx cuda/src/common/targ_info/generate/isa_pack_gen.cxx
    old new  
     1#include <string.h> 
    12/* 
    23 * Copyright 2004 PathScale, Inc.  All Rights Reserved. 
    34 */ 
  • src/common/targ_info/generate/isa_print_gen.cxx

    diff -u -r cuda_orig/src/common/targ_info/generate/isa_print_gen.cxx cuda/src/common/targ_info/generate/isa_print_gen.cxx
    old new  
     1#include <string.h> 
    12/* 
    23 *  Copyright (C) 2007 PathScale, LLC.  All Rights Reserved. 
    34 */ 
  • src/common/targ_info/generate/si_gen.cxx

    diff -u -r cuda_orig/src/common/targ_info/generate/si_gen.cxx cuda/src/common/targ_info/generate/si_gen.cxx
    old new  
     1#include <stdlib.h> 
    12/* 
    23 * Copyright (C) 2007 PathScale, LLC.  All Rights Reserved. 
    34 */ 
  • src/include/Makefile.gbase

    diff -u -r cuda_orig/src/include/Makefile.gbase cuda/src/include/Makefile.gbase
    old new  
    187187            fi; \ 
    188188        done     
    189189        @for h in $(LINUX_HFILES); do \ 
    190             if ! test -a $$h; then \ 
     190            if ! test -e $$h; then \ 
    191191              $(LN) -sf $(BUILD_TOT)/linux/include/$$h $$h; \ 
    192192            fi; \ 
    193193        done 
    194194        @for h in $(LINUX_SYS_HFILES); do \ 
    195             if ! test -a $$h; then \ 
     195            if ! test -e $$h; then \ 
    196196              $(LN) -sf $(BUILD_TOT)/../linux/include/sys/$$h sys/$$h; \ 
    197197            fi; \ 
    198198        done 
    199199        @for h in $(INCLUDE_HFILES); do \ 
    200             if ! test -a $$h; then \ 
     200            if ! test -e $$h; then \ 
    201201              $(LN) -sf $(BUILD_TOT)/include/$$h $$h; \ 
    202202            fi; \ 
    203203        done 
    204204        @for h in $(LIBDWARF_HFILES); do \ 
    205             if ! test -a $$h; then \ 
     205            if ! test -e $$h; then \ 
    206206              $(LN) -sf $(BUILD_TOT)/libdwarf/libdwarf/$$h $$h; \ 
    207207            fi; \ 
    208208        done 
     
    212212            fi; \ 
    213213        done 
    214214        @for h in $(CMPLR_HFILES); do \ 
    215             if ! test -a cmplrs/$$h; then \ 
     215            if ! test -e cmplrs/$$h; then \ 
    216216              $(LN) -sf $(BUILD_TOT)/../include/cmplrs/$$h cmplrs/$$h; \ 
    217217            fi; \ 
    218218        done 
    219219        @for h in $(SYS_HFILES); do \ 
    220             if ! test -a sys/$$h; then \ 
     220            if ! test -e sys/$$h; then \ 
    221221              $(LN) -sf $(BUILD_TOT)/../include/sys/$$h sys/$$h; \ 
    222222            fi; \ 
    223223        done 
    224224        @for h in $(SYS_DIRS); do \ 
    225             if ! test -a sys/$$h; then \ 
     225            if ! test -e sys/$$h; then \ 
    226226              $(LN) -sf $(BUILD_TOT)/../include/sys/$$h sys/$$h; \ 
    227227            fi; \ 
    228228        done 
    229229        @for h in $(LIBELF_HFILES); do \ 
    230             if ! test -a $$h; then \ 
     230            if ! test -e $$h; then \ 
    231231              $(LN) -sf $(BUILD_TOT)/../libelf/lib/$$h libelf/$$h; \ 
    232232            fi; \ 
    233233        done 
  • src/Makefile.gsetup

    diff -u -r cuda_orig/src/Makefile.gsetup cuda/src/Makefile.gsetup
    old new  
    526526ifeq ($(BUILD_TARGET), NVISA) 
    527527# This is due to unsupported aliases in Mach-O 
    528528ifneq ($(BUILD_OS), DARWIN) 
    529 ERROR_ON_WARNINGS = -Werror 
     529ERROR_ON_WARNINGS = 
    530530endif 
    531531endif 
    532532 
Note: See TracBrowser for help on using the browser.