...
Code Block |
---|
cp ./CMakeFiles/express.dir/link.txt ./CMakeFiles/express.dir/link.txt.original cat ./CMakeFiles/express.dir/link.txt.original|sed -r "s/\s+/\n/g"|awk -v TACC_BOOST_INC=$TACC_BOOST_INC -v TACC_BOOST_LIB=$TACC_BOOST_LIB -v MY_BAMTOOLS_DIR=$MY_BAMTOOLS_DIR 'NR==1{print $0;printf "-I%s\n",TACC_BOOST_INC};NR>1{print};/rdynamic/{exit};END{printf "-Wl,-rpath,%s/lib -L%s/lib -lbamtools %s/lib/libbamtools.a -L%s -lboost_filesystem -lboost_thread -lboost_system -lboost_program_options -lpthread\n",MY_BAMTOOLS_DIR,MY_BAMTOOLS_DIR,MY_BAMTOOLS_DIR,TACC_BOOST_LIB;}' | tr '\n' ' ' | xargs echo > ./CMakeFiles/express.dir/link.txt 2>&1 |
Finish installing eXpress
...