Find Jobs
Hire Freelancers

Convert homegrown make to use autotools

$30-5000 USD

已关闭
已发布超过 14 年前

$30-5000 USD

货到付款
I have a small makefile that I've "home-grown" over a couple of months. It uses the nvcc compiler to build a shared library, and builds on Gentoo and Ubuntu. I'd like to convert this to Autotools. I could read a lot of docs, and I probably will, but I wouldn't mind paying a little to get a head start. ## Deliverables This is the makefile in it's entirety that I'd like converted. FILENAME=regression BINNAME=CudaCallC NVCCFLAGS=--compiler-options '-fPIC' ifeq (,$(findstring Ubuntu,$(shell uname -v))) JAVA=$(shell readlink --canonicalize $(JAVA_HOME)) else JAVA=/usr/lib/jvm/java-6-sun-1.6.0.15 endif LINKPARAMS=-lconfig++ -lxerces-c PARSERCOMPILE=flex [login to view URL] && bison -d PFtIF.y && cc -Wall -Wextra -pedantic -Wfloat-equal lex.yy.c PFtIF.tab.c -o PFtIF && mv PFtIF ../../../ ifeq (,$(findstring Ubuntu,$(shell uname -v))) # Gentoo CUDADIR=/opt/cuda/sdk/C/common/inc JAVADIR=$(shell readlink --canonicalize $(JAVA_HOME)) ifeq ($(shell uname -m), x86_64) LINKPARAMS+=-L/opt/cuda/lib64/ -lcudart else LINKPARAMS+=-L/opt/cuda/lib/ -lcudart endif else # Ubuntu CUDADIR=/home/pps-admin/NVIDIA_GPU_Computing_SDK/C/common/inc JAVADIR=/usr/lib/jvm/java-6-sun-1.6.0.15 NVCCFLAGS+=--compiler-bindir=/home/pps-admin/NVIDIA_GPU_Computing_SDK/C/mygcc endif INCLUDEDIRS=-I$(CUDADIR) -I$(JAVADIR)/include -I$(JAVADIR)/include/linux COMPILEPARAMS=$(INCLUDEDIRS) COMPILEPARAMS+=$(LINKPARAMS) all: $(PARSERCOMPILE) && rm PFtIF.tab.c PFtIF.tab.h lex.yy.c nvcc -shared $(NVCCFLAGS) [login to view URL] $(COMPILEPARAMS) -o lib$(BINNAME).so -arch=sm_13 clean: rm -f PFtIF.tab.c PFtIF.tab.h lex.yy.c [login to view URL] regression.cu_o [login to view URL]
项目 ID: 3080950

关于此项目

远程项目
活跃14 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

SWEDEN的国旗
Sweden
0.0
0
会员自1月 11, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。