Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agnieszkadanek committed Feb 27, 2016
1 parent 02e1b37 commit 4ad6d37
Show file tree
Hide file tree
Showing 1,355 changed files with 314,030 additions and 0 deletions.
22 changes: 22 additions & 0 deletions IDX_build/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CC=g++
CFLAGS=-O3 -m64 -std=c++0x -fopenmp
EXECUTABLE=MuGI_build
LIB=-ltbb
LDFLAGS=
SOURCES=data.cpp main.cpp bit_vectors.cpp core.cpp fasta.cpp sa.cpp sa2.cpp sa_variants.cpp suffix2.cpp variant_list.cpp coding.cpp sa1.cpp sa3.cpp suffix1.cpp suffix3.cpp vcf.cpp

OBJECTS=$(SOURCES:.cpp=.o)

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
$(CC) $(CFLAGS) $(OBJECTS) $(LIB) -o $@
cp $(EXECUTABLE) ../

.cpp.o:
$(CC) $(CFLAGS) -c $< -o $@

clean:
rm $(OBJECTS)
rm $(EXECUTABLE)
rm ../$(EXECUTABLE)
22 changes: 22 additions & 0 deletions IDX_build/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
To build the INDEX_build sources, the Intel Threading Building Blocks library is needed.

It can be downloaded from: https://www.threadingbuildingblocks.org

Example instuction to install the included tbb:

cd tbb/
make clean
make
cd build/linux_intel64_gcc_cc4.6.2_libc2.14.90_kernel3.6.10_release/
source tbbvars.sh #source tbbvars.csh
cd ../../../

More instruction on how to use the library are also available at the webpage.

The LIB variable in the Makefile should point to the working library.






Loading

0 comments on commit 4ad6d37

Please sign in to comment.