Changeset 3806 in /cluster/svnroot


Ignore:
Timestamp:
Sep 8, 2012 10:04:36 PM (8 years ago)
Author:
skylar
Message:

adding new 32-bit driver and toolkit, fixing cuda makefile for i386 builds (#727)

Location:
bccd-ng/branches/skylar/bccd-3.1.1
Files:
603 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.1.1/packages/etc/skel/CUDA/Makefile

    r3751 r3806  
    2222CC = nvcc
    2323CFLAGS = -O2
     24ARCH := $(shell uname -m)
     25
     26ifeq ($(ARCH), i686)
     27        CFLAGS += --machine 32
     28endif
     29
     30ifeq ($(ARCH), x86_64)
     31        CFLAGS += --machine 64
     32endif
    2433
    2534ifeq ($(wildcard /etc/bccd-revision),)      # not the BCCD
    2635  TARGETS = device-query device-query-mpi hello-cuda
    2736  LDFLAGS =
    28   CFLAGS += --machine 64
    2937else                                        # the BCCD
    3038  # The combination of MPI and CUDA and icc needs to be reconciled before
     
    3240  TARGETS = device-query hello-cuda
    3341  LDFLAGS = -L/bccd/software/cuda/3.2.16/Linux/BCCD/x86_64/lib64
    34   CFLAGS += --machine 64
    3542endif
    3643
Note: See TracChangeset for help on using the changeset viewer.