-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.sh
executable file
·19 lines (10 loc) · 1.18 KB
/
commands.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cd src
rm -rf libmipsolverc.so
# 1. compile main file.
cd ../native
make clean
g++ -Wall -Wextra -Werror -Wno-unused-parameter -Wno-deprecated -fPIC -Iinclude -I/usr/include -I/usr/local/include -I/usr/lib/jvm/jdk1.8.0_65/include -I/usr/lib/jvm/jdk1.8.0_65/include/linux -I../ -I../src -DCONFIG_HAVE_GLPK -O2 -march=native -c -o testmain.o src/testmain.cpp
# 2. make all.
make
# 3. create so file.
g++ -o ../src/libmipsolverc.so testmain.o tasks.o sharedres.o dpcp.o mpcp.o fmlp_plus.o global-fmlp.o msrp.o global-omlp.o part-omlp.o clust-omlp.o rw-phase-fair.o rw-task-fair.o msrp-holistic.o global-pip.o ppcp.o baker.o baruah.o gfb.o bcl.o bcl_iterative.o rta.o ffdbf.o gedf.o gel_pl.o load.o cpu_time.o qpa.o la.o sim.o schedule_sim.o lp_common.o io.o lp_dflp.o lp_dpcp.o lp_mpcp.o lp_fmlp.o lp_omip.o lp_spinlocks.o lp_spinlock_msrp.o lp_spinlock_unordered.o lp_spinlock_prio.o lp_spinlock_prio_fifo.o lp_gfmlp.o lp_global.o lp_global_pip.o lp_ppcp.o lp_sa_gfmlp.o lp_global_fmlpp.o lp_prsb.o lp_no_progress_priority.o lp_no_progress_fifo.o lp_global_no.o lp_global_pi.o lp_global_rsb.o lp_global_prio.o lp_global_fifo.o glpk.o -L/usr/lib -lgmp -lgmpxx -lrt -L/usr/local/lib -lglpk -shared