Changeset 2f5562
- Timestamp:
- Mar 2, 2017, 7:25:26 AM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, Subpackage_JobMarket, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, ThirdParty_MPQC_rebuilt_buildsystem, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
- Children:
- 99689b
- Parents:
- 363f28
- git-author:
- Frederik Heber <heber@…> (11/16/16 08:03:32)
- git-committer:
- Frederik Heber <heber@…> (03/02/17 07:25:26)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r363f28 r2f5562 4 4 if COND_COMPILE_CODEPATTERNS 5 5 SUBDIRS += ThirdParty/CodePatterns 6 endif 7 if COND_COMPILE_JOBMARKET 8 SUBDIRS += ThirdParty/JobMarket 6 9 endif 7 10 SUBDIRS += ThirdParty/LinearAlgebra data/icons src src/unittests src/Tesselation/TriangleMatcher src/Bond/AdjacencyMatcher tests utils doc -
ThirdParty/JobMarket/configure.ac
r363f28 r2f5562 85 85 86 86 # CodePatterns library (requires new global NotificationChannel functions) 87 AM_PATH_CODEPATTERNS([1.3.0], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])]) 87 AM_PATH_CODEPATTERNS([1.3.2], $have_debug,,[ 88 # compile from ThirdParty 89 [CodePatterns_LDFLAGS='-L$(top_builddir)/../CodePatterns/src'] 90 [CodePatterns_CFLAGS='-I$(top_srcdir)/../CodePatterns/src'] 91 AS_IF([test x"$enable_debug" != x"no"], [ 92 [CodePatterns_LIBS='-lcodepatterns-debug'] 93 ],[ 94 [CodePatterns_LIBS='-lcodepatterns'] 95 ]) 96 AC_SUBST(CodePatterns_LDFLAGS) 97 AC_SUBST(CodePatterns_CFLAGS) 98 AC_SUBST(CodePatterns_LIBS) 99 #AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...]) 100 ]) 88 101 89 102 # boost -
ThirdParty/JobMarket/src/unittests/Makefile.am
r363f28 r2f5562 10 10 lib_LTLIBRARIES = 11 11 12 AM_LDFLAGS = ${CodePatterns_L IBS} $(CPPUNIT_LIBS) -ldl12 AM_LDFLAGS = ${CodePatterns_LDFLAGS} $(CPPUNIT_LDFLAGS) -ldl 13 13 AM_CPPFLAGS = -I$(top_srcdir)/src $(CPPUNIT_CFLAGS) $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS} 14 14 … … 50 50 $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS) \ 51 51 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 52 ${CodePatterns_LIBS} 52 ${CodePatterns_LIBS} \ 53 $(CPPUNIT_LIBS) 53 54 54 FragmentJobUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl55 55 FragmentJobUnitTest_SOURCES = UnitTestMain.cpp \ 56 56 FragmentJobUnitTest.cpp \ … … 60 60 stubs/FragmentJobStub.hpp 61 61 FragmentJobUnitTest_LDADD = \ 62 ../JobMarket/libJobMarketJobs.la \ 63 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 64 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 65 ${CodePatterns_LIBS} 62 ${FRAGMENTATIONAUTOMATIONLIBS} 66 63 67 FragmentQueueUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl68 64 FragmentQueueUnitTest_SOURCES = UnitTestMain.cpp \ 69 65 FragmentQueueUnitTest.cpp \ … … 74 70 stubs/ObserverStub.hpp 75 71 FragmentQueueUnitTest_LDADD = \ 76 ../JobMarket/libJobMarketJobs.la \ 77 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 78 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 79 ${CodePatterns_LIBS} 72 ${FRAGMENTATIONAUTOMATIONLIBS} 80 73 81 FragmentResultUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl82 74 FragmentResultUnitTest_SOURCES = UnitTestMain.cpp \ 83 75 FragmentResultUnitTest.cpp \ 84 76 FragmentResultUnitTest.hpp 85 77 FragmentResultUnitTest_LDADD = \ 86 ../JobMarket/libJobMarketJobs.la \ 87 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 88 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 89 ${CodePatterns_LIBS} 78 ${FRAGMENTATIONAUTOMATIONLIBS} 90 79 91 OperationQueueUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl92 80 OperationQueueUnitTest_SOURCES = UnitTestMain.cpp \ 93 81 OperationQueueUnitTest.cpp \ … … 95 83 stubs/AsyncOperationStub.hpp 96 84 OperationQueueUnitTest_LDADD = \ 97 98 99 85 ../JobMarket/libJobMarketOperations.la \ 86 ../JobMarket/libJobMarketJobs.la \ 87 ../JobMarket/libJobMarketHelper.la \ 100 88 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 101 ${CodePatterns_LIBS} 89 ${CodePatterns_LIBS} \ 90 $(CPPUNIT_LIBS) 102 91 103 SystemCommandJobUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl104 92 SystemCommandJobUnitTest_SOURCES = UnitTestMain.cpp \ 105 93 SystemCommandJobUnitTest.cpp \ 106 94 SystemCommandJobUnitTest.hpp 107 95 SystemCommandJobUnitTest_LDADD = \ 108 ../JobMarket/libJobMarketJobs.la \ 109 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 96 ${FRAGMENTATIONAUTOMATIONLIBS} \ 110 97 $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS) \ 111 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \ 112 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 113 ${CodePatterns_LIBS} 98 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) 114 99 115 WorkerAddressUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl116 100 WorkerAddressUnitTest_SOURCES = UnitTestMain.cpp \ 117 101 WorkerAddressUnitTest.cpp \ 118 102 WorkerAddressUnitTest.hpp 119 103 WorkerAddressUnitTest_LDADD = \ 120 ../JobMarket/libJobMarketHelper.la \ 121 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 122 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 123 ${CodePatterns_LIBS} 104 ../JobMarket/libJobMarketHelper.la \ 105 ${FRAGMENTATIONAUTOMATIONLIBS} 124 106 125 WorkerPoolUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl126 107 WorkerPoolUnitTest_SOURCES = UnitTestMain.cpp \ 127 108 WorkerPoolUnitTest.cpp \ … … 130 111 stubs/ObserverStub.hpp 131 112 WorkerPoolUnitTest_LDADD = \ 132 133 113 ../JobMarket/libJobMarketPool.la \ 114 ../JobMarket/libJobMarketHelper.la \ 134 115 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 135 116 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ 136 ${CodePatterns_LIBS} 117 ${CodePatterns_LIBS} \ 118 $(CPPUNIT_LIBS) 137 119 138 120 #AUTOMAKE_OPTIONS = parallel-tests -
configure.ac
r363f28 r2f5562 285 285 enable_jobmarket="yes") 286 286 AC_MSG_RESULT($enable_jobmarket) 287 compile_jobmarket="no" 287 288 AS_IF([test x"$enable_jobmarket" != x"no"],[ 288 289 # JobMarket library (needs SystemCommandJob with suffix) … … 292 293 AC_DEFINE(HAVE_JOBMARKET,1, ["use JobMarket to calculate fragment jobs."]) 293 294 ],[ 294 enable_jobmarket="no" 295 AC_CONFIG_SUBDIRS([ThirdParty/JobMarket]) 296 compile_jobmarket="yes" 297 [JobMarket_CFLAGS='-I$(top_srcdir)/ThirdParty/JobMarket/src'] 298 [JobMarket_LDFLAGS='-L$(top_builddir)/ThirdParty/JobMarket/src/JobMarket'] 299 [JobMarket_LIBS='-lJobMarket'] 300 [JobMarket_Controller_LIBS='-lJobMarketController'] 301 [JobMarket_Server_LIBS='-lJobMarketServer'] 302 [JobMarket_PoolWorker_LIBS='-lJobMarketPoolWorker'] 303 AC_SUBST(JobMarket_CFLAGS) 304 AC_SUBST(JobMarket_LDFLAGS) 305 AC_SUBST(JobMarket_LIBS) 306 AC_SUBST(JobMarket_Controller_LIBS) 307 AC_SUBST(JobMarket_Server_LIBS) 308 AC_SUBST(JobMarket_PoolWorker_LIBS) 295 309 ]) 296 310 ] 311 AM_CONDITIONAL([COND_COMPILE_JOBMARKET], [test x"$compile_jobmarket" = x"yes"]) 297 312 #[ 298 313 # AC_DEFINE(HAVE_JOBMARKET,0, ["use JobMarket to calculate fragment jobs."])
Note:
See TracChangeset
for help on using the changeset viewer.