[ewg] build_ofa_user.sh for dual dapl?
Glenn Streiff
gstreiff at NetEffect.com
Fri Feb 8 10:43:20 PST 2008
Is there an updated build_ofa_user.sh that works for the
two versions of dapl?
Maybe there is something in Arlin's tree that hasn't been
picked up by Vlad or I'm just doing something wrong. ;)
I pulled build_ofa_user.sh from:
git://git.openfabrics.org/~vlad/ofabuild.git ofed_1_3
and ran:
./build_ofa_user.sh
and hit:
Initialized empty Git repository in /home/glenn/tmp/ofa_1_2_user-20080208-0736/ofa_1_2_user/dapl/
fatal: 'src/userspace/dapl/.git': unable to chdir or not a git archive
Okay, I've got build_ofa_user.sh is cranking for me after this change.
which was resolved with the patch below.
But then I get:
307 |Makefile.am: installing `./INSTALL'
308 Running: env ac_cv_lib_ibverbs_ibv_get_device_list=yes ac_cv_header_infiniband_driver_h=yes ac_cv_func_ibv_read_sysfs_file=yes ac_cv_func_ibv _dontfork_range=yes ac_cv_func_ibv_dofork_range=yes ac_cv_func_ibv_register_driver=yes HAVE_IBV_DEVICE_LIBRARY_EXTENSION_TRUE=yes ./configur e --cache-file=/home/glenn/tmp/ofa1_2_user-20080208-1021_make_dist/configure.cache --disable-libcheck CPPFLAGS="-I../libibverbs/include" LDF LAGS="-L."
309 cp: cannot stat `dapl1*.tar.gz': No such file or directory
310 cp: cannot stat `dapl2*.tar.gz': No such file or directory
311 /bin/rm -f /home/glenn/tmp/ofa_1_2_user-20080208-1021_make_dist/configure.cache
312 cd /home/glenn/tmp/ofa_1_2_user-20080208-1021
313 cd ofa_1_2_user/src/userspace/management
314 cd /home/glenn/tmp/ofa_1_2_user-20080208-1021/ofa_1_2_user/src/userspace/management
315 cd /home/glenn/tmp/ofa_1_2_user-20080208-1021/ofa_1_2_user/src/userspace/management
316 cd /home/glenn/tmp/ofa_1_2_user-20080208-1021/ofa_1_2_user/src/userspace/management
317 cd /home/glenn/tmp/ofa_1_2_user-20080208-1021/ofa_1_2_user/src/userspace/management
318 cd /home/glenn/tmp/ofa_1_2_user-20080208-1021/ofa_1_2_user/src/userspace/management
319 ./build_ofa_user.sh: line 257: cd: diags: No such file or directory
320 ./build_ofa_user.sh: line 260: cd: diags: No such file or directory
Was also curious about the ofa_1_2 token. Shouldn't the stock build_ofa_user.conf
for ofed_1_3 branch include:
proj=${proj:-"ofa_1_3_user"}
This is probably either a don't care for everybody or you're in
the habit of setting proj in the environment.
Regards,
Glenn
diff --git a/build_ofa_user.sh b/build_ofa_user.sh
index 6a7efb9..f0bdc1b 100755
--- a/build_ofa_user.sh
+++ b/build_ofa_user.sh
@@ -38,7 +38,7 @@ mailto="openib-general at openib.org"
git_version=`git --version | awk '{print $NF}'`
-ullibs="libibverbs libmthca libmlx4 libehca libnes libipathverbs tvflash libibcm libsdp mstflint perftest srptools librdmacm dapl management libcxgb3 qlvnictools sdpnetstat ibutils"
+ullibs="libibverbs libmthca libmlx4 libehca libnes libipathverbs tvflash libibcm libsdp mstflint perftest srptools librdmacm dapl1 dapl2 management libcxgb3 qlvnictools sdpnetstat ibutils"
# Execute command w/ echo and exit if it fail
ex()
----
So looks like 'ullibs' needs to be updated from:
ullibs="libibverbs ... dapl ..."
to:
ullibs="libibverbs ... dapl1 dapl2 ..."
More information about the ewg
mailing list