From 746b685677f95eee40fbe0b9d572b1193e228242 Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Wed, 26 Feb 2020 18:09:47 +0100 Subject: [PATCH] QMAKE files removed --- DRAMSys/DRAMSys.pro | 58 ----- DRAMSys/library/library.pro | 278 ------------------------ DRAMSys/simulator/simulator.pro | 64 ------ DRAMSys/traceAnalyzer/traceAnalyzer.pro | 121 ----------- 4 files changed, 521 deletions(-) delete mode 100644 DRAMSys/DRAMSys.pro delete mode 100644 DRAMSys/library/library.pro delete mode 100644 DRAMSys/simulator/simulator.pro delete mode 100644 DRAMSys/traceAnalyzer/traceAnalyzer.pro diff --git a/DRAMSys/DRAMSys.pro b/DRAMSys/DRAMSys.pro deleted file mode 100644 index 6070fb7b..00000000 --- a/DRAMSys/DRAMSys.pro +++ /dev/null @@ -1,58 +0,0 @@ -TEMPLATE = subdirs - -thermalsim = $$(THERMALSIM) -isEmpty(thermalsim) { - thermalsim = false -} - -$$eval(thermalsim) { - message(Thermal Simulation Feature Enabled) -} else { - message(Thermal Simulation Feature Disabled) -} - -dramsys_disable_coverage_check = $$(DRAMSYS_DISABLE_COVERAGE_CHECK) -isEmpty(dramsys_disable_coverage_check) { - message(Coverage check ENABLED) -} else { - message(Coverage check DISABLED) -} - -systemc_home = $$(SYSTEMC_HOME) -isEmpty(systemc_home) { - systemc_home = /opt/systemc -} -message(SystemC home is $${systemc_home}) - -SUBDIRS += library -#SUBDIRS += unitTests -SUBDIRS += simulator -SUBDIRS += traceAnalyzer - -library.subdir = library -#unitTests.subdir = unitTests -simulator.subdir = simulator -traceAnalyzer.subdir = traceAnalyzer - -# Check if gem5 is installed: -gem5 = $$(GEM5) -isEmpty(gem5) { - message(GEM5 environment variable not found) - message(Gem5 Simulation Disabled) -} else { - message(Gem5 Simulation Feature Enabled) - message(Gem5 home is $${gem5}) - DEFINES += DRAMSYS_GEM5 - SUBDIRS += gem5 - gem5.subdir = gem5 - gem5.depends = library simulator -} - -# Define Build Order -simulator.depends = library - -# Additional Files: -# tests folder (DRAMSys/tests) -include(tests/tests.pri) - -DISTFILES += ../README.md diff --git a/DRAMSys/library/library.pro b/DRAMSys/library/library.pro deleted file mode 100644 index 8043e99e..00000000 --- a/DRAMSys/library/library.pro +++ /dev/null @@ -1,278 +0,0 @@ -TARGET = DRAMSys - -TEMPLATE = lib -CONFIG += staticlib -CONFIG += console -CONFIG -= app_bundle -CONFIG -= qt - -system(cd ../../DRAMSys/library/src/common/third_party/DRAMPower; make src/libdrampower.a;) - -systemc_home = $$(SYSTEMC_HOME) -isEmpty(systemc_home) { - systemc_home = /opt/systemc/ -} - -# Check if PCT's SystemC should be used? -dramsys_pct = $$(DRAMSYS_PCT) -isEmpty(dramsys_pct) { - dramsys_pct = false -} - -$$eval(dramsys_pct) { - # PCT: - message(PCT Simulation Feature Enabled) - systemc_home = /software/Synopsys_CoWare/K-2015.12-SP1/SLS/linux/common - INCLUDEPATH += $${systemc_home}/include/tlm - - DEFINES += DRAMSYS_PCT -} - -# Check if gem5 should be used -gem5 = $$(GEM5) -isEmpty(gem5) { - message(GEM5 environment variable not found) - message(Gem5 Simulation Disabled) -} else { - message(Gem5 Simulation Feature Enabled) - message(Gem5 home is $${gem5}) - DEFINES += DRAMSYS_GEM5 -} - -message(SystemC home is $${systemc_home}) - -INCLUDEPATH += $${systemc_home}/include - -INCLUDEPATH += src/common/third_party/DRAMPower/src -INCLUDEPATH += src/common/third_party/DRAMPower/src/libdrampower -INCLUDEPATH += src/common/third_party/json/include - -DEFINES += TIXML_USE_STL -DEFINES += SC_INCLUDE_DYNAMIC_PROCESSES - -dramsys_disable_coverage_check = $$(DRAMSYS_DISABLE_COVERAGE_CHECK) -isEmpty(dramsys_disable_coverage_check) { - coverage_check = true - message(Coverage check ENABLED) -} else { - coverage_check = false - message(Coverage check DISABLED) -} - -unix:!macx { - QMAKE_CXXFLAGS += -std=c++11 -O0 -g - $$eval(coverage_check) { - QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage -fPIC -O0 - QMAKE_LFLAGS += -lgcov --coverage - } -} - -macx: { - CONFIG += c++11 - QMAKE_CXXFLAGS += -std=c++0x -stdlib=libc++ -O0 -g - QMAKE_MACOSX_DEPLOYMENT_TARGET=10.14 - $$eval(coverage_check) { - QMAKE_CXXFLAGS += --coverage - QMAKE_LFLAGS += --coverage - } -} - -QMAKE_CXXFLAGS += -isystem $${systemc_home}/include - -SOURCES += \ - src/common/third_party/tinyxml2/tinyxml2.cpp \ - src/common/TlmRecorder.cpp \ - src/common/DebugManager.cpp \ - src/configuration/Configuration.cpp \ - src/simulation/MemoryManager.cpp \ - src/simulation/TemperatureController.cpp \ - src/configuration/ConfigurationLoader.cpp \ - src/controller/Command.cpp \ - src/error/errormodel.cpp \ - src/simulation/TracePlayer.cpp \ - src/simulation/TraceSetup.cpp \ - src/simulation/DRAMSys.cpp \ - src/simulation/Setup.cpp \ - src/error/ECC/Bit.cpp \ - src/error/ECC/ECC.cpp \ - src/error/ECC/Word.cpp \ - src/error/eccbaseclass.cpp \ - src/error/ecchamming.cpp \ - src/common/AddressDecoder.cpp \ - src/simulation/dram/Dram.cpp \ - src/simulation/Arbiter.cpp \ - src/common/CongenAddressDecoder.cpp \ - src/common/XmlAddressDecoder.cpp \ - src/common/timingCalculations.cpp \ - src/common/dramExtensions.cpp \ - src/common/utils.cpp \ - src/simulation/dram/DramDDR3.cpp \ - src/simulation/dram/DramDDR4.cpp \ - src/simulation/dram/DramRecordable.cpp \ - src/simulation/dram/DramWideIO.cpp \ - src/configuration/memspec/MemSpec.cpp \ - src/controller/BankMachine.cpp \ - src/controller/Controller.cpp \ - src/controller/scheduler/SchedulerFifo.cpp \ - src/controller/scheduler/SchedulerFrFcfs.cpp \ - src/controller/cmdmux/CmdMuxStrict.cpp \ - src/controller/cmdmux/CmdMuxOldest.cpp \ - src/controller/ControllerRecordable.cpp \ - src/controller/checker/CheckerDDR3.cpp \ - src/controller/refresh/RefreshManager.cpp \ - src/controller/refresh/RefreshManagerDummy.cpp \ - src/controller/refresh/RefreshManagerBankwise.cpp \ - src/controller/checker/CheckerWideIO.cpp \ - src/configuration/memspec/MemSpecDDR3.cpp \ - src/configuration/memspec/MemSpecDDR4.cpp \ - src/configuration/memspec/MemSpecWideIO.cpp \ - src/configuration/memspec/MemSpecLPDDR4.cpp \ - src/controller/checker/CheckerDDR4.cpp \ - src/simulation/dram/DramLPDDR4.cpp \ - src/controller/checker/CheckerLPDDR4.cpp \ - src/configuration/memspec/MemSpecWideIO2.cpp \ - src/simulation/dram/DramWideIO2.cpp \ - src/controller/checker/CheckerWideIO2.cpp \ - src/configuration/memspec/MemSpecHBM2.cpp \ - src/simulation/dram/DramHBM2.cpp \ - src/controller/checker/CheckerHBM2.cpp \ - src/configuration/memspec/MemSpecGDDR5.cpp \ - src/configuration/memspec/MemSpecGDDR5X.cpp \ - src/configuration/memspec/MemSpecGDDR6.cpp \ - src/controller/checker/CheckerGDDR5.cpp \ - src/controller/checker/CheckerGDDR5X.cpp \ - src/controller/checker/CheckerGDDR6.cpp \ - src/simulation/dram/DramGDDR5.cpp \ - src/simulation/dram/DramGDDR5X.cpp \ - src/simulation/dram/DramGDDR6.cpp \ - src/controller/powerdown/PowerDownManagerStaggered.cpp \ - src/controller/powerdown/PowerDownManagerDummy.cpp - -HEADERS += \ - src/common/third_party/tinyxml2/tinyxml2.h \ - src/common/TlmRecorder.h \ - src/common/tlm2_base_protocol_checker.h \ - src/common/protocol.h \ - src/common/DebugManager.h \ - src/configuration/Configuration.h \ - src/simulation/TracePlayer.h \ - src/simulation/MemoryManager.h \ - src/simulation/dram/Dram.h \ - src/simulation/Arbiter.h \ - src/common/libDRAMPower.h \ - src/simulation/ReorderBuffer.h \ - src/configuration/memspec/MemSpec.h \ - src/simulation/StlPlayer.h \ - src/simulation/TracePlayerListener.h \ - src/simulation/TraceGenerator.h \ - src/simulation/TemperatureController.h \ - src/controller/Command.h \ - src/configuration/ConfigurationLoader.h \ - src/error/errormodel.h \ - src/simulation/ExampleInitiator.h \ - src/simulation/TraceSetup.h \ - src/simulation/DRAMSys.h \ - src/simulation/Setup.h \ - src/error/ECC/Bit.h \ - src/error/ECC/ECC.h \ - src/error/ECC/Word.h \ - src/error/eccbaseclass.h \ - src/error/ecchamming.h \ - src/simulation/IArbiter.h \ - src/simulation/SimpleArbiter.h \ - src/common/AddressDecoder.h \ - src/common/CongenAddressDecoder.h \ - src/common/XmlAddressDecoder.h \ - src/common/timingCalculations.h \ - src/common/dramExtensions.h \ - src/common/utils.h \ - src/configuration/TemperatureSimConfig.h \ - src/simulation/dram/DramDDR3.h \ - src/simulation/dram/DramDDR4.h \ - src/simulation/dram/DramRecordable.h \ - src/simulation/dram/DramWideIO.h \ - src/controller/GenericController.h \ - src/controller/BankMachine.h \ - src/controller/Controller.h \ - src/controller/scheduler/SchedulerIF.h \ - src/controller/scheduler/SchedulerFifo.h \ - src/controller/scheduler/SchedulerFrFcfs.h \ - src/controller/cmdmux/CmdMuxIF.h \ - src/controller/cmdmux/CmdMuxStrict.h \ - src/controller/cmdmux/CmdMuxOldest.h \ - src/controller/ControllerRecordable.h \ - src/controller/checker/CheckerIF.h \ - src/controller/checker/CheckerDDR3.h \ - src/controller/refresh/RefreshManagerIF.h \ - src/controller/refresh/RefreshManager.h \ - src/controller/refresh/RefreshManagerDummy.h \ - src/controller/refresh/RefreshManagerBankwise.h \ - src/controller/checker/CheckerWideIO.h \ - src/configuration/memspec/MemSpecDDR3.h \ - src/configuration/memspec/MemSpecWideIO.h \ - src/configuration/memspec/MemSpecDDR4.h \ - src/configuration/memspec/MemSpecLPDDR4.h \ - src/controller/checker/CheckerDDR4.h \ - src/simulation/dram/DramLPDDR4.h \ - src/controller/checker/CheckerLPDDR4.h \ - src/configuration/memspec/MemSpecWideIO2.h \ - src/simulation/dram/DramWideIO2.h \ - src/controller/checker/CheckerWideIO2.h \ - src/configuration/memspec/MemSpecHBM2.h \ - src/simulation/dram/DramHBM2.h \ - src/controller/checker/CheckerHBM2.h \ - src/configuration/memspec/MemSpecGDDR5.h \ - src/configuration/memspec/MemSpecGDDR5X.h \ - src/configuration/memspec/MemSpecGDDR6.h \ - src/controller/checker/CheckerGDDR5.h \ - src/controller/checker/CheckerGDDR5X.h \ - src/controller/checker/CheckerGDDR6.h \ - src/simulation/dram/DramGDDR5.h \ - src/simulation/dram/DramGDDR5X.h \ - src/simulation/dram/DramGDDR6.h \ - src/controller/powerdown/PowerDownManagerStaggered.h \ - src/controller/powerdown/PowerDownManagerIF.h \ - src/controller/powerdown/PowerDownManagerDummy.h - #src/common/third_party/json/include/nlohmann/json.hpp \ - -thermalsim = $$(THERMALSIM) -isEmpty(thermalsim) { - thermalsim = false -} - -$$eval(thermalsim) { - message(Thermal Simulation Feature Enabled) - - libthreed_ice_home = $$(LIBTHREED_ICE_HOME) - isEmpty(libthreed_ice_home) { - libthreed_ice_home = /opt/3D-ICE/ - } - message(LIBTHREED_ICE_HOME path is $${libthreed_ice_home}) - - libsuperlu_home = $$(LIBSUPERLU_HOME) - isEmpty(libsuperlu_home) { - libsuperlu_home = /opt/SuperLU_4.3/ - } - message(LIBSUPERLU_HOME path is $${libthreed_ice_home}) - - LIBS += -L$${libthreed_ice_home}/lib -lthreed-ice-2.2.4 - LIBS += -L$${libsuperlu_home}/lib -lsuperlu_4.3 - LIBS += -lblas - message(Libraries: $${LIBS}) - - INCLUDEPATH += $${libthreed_ice_home}/include - INCLUDEPATH += $${libsuperlu_home}/SRC - INCLUDEPATH += $${systemc_home}/include - message(Include paths: $${INCLUDEPATH}) - - QMAKE_CXXFLAGS += -DTHERMALSIM - message(Compiler flags: $${QMAKE_CXXFLAGS}) - -} else { - message(Thermal Simulation Feature Disabled) -} - -# Additional Files: -include(resources/resources.pri) - -DISTFILES += ../DRAMSys.astylerc diff --git a/DRAMSys/simulator/simulator.pro b/DRAMSys/simulator/simulator.pro deleted file mode 100644 index de259186..00000000 --- a/DRAMSys/simulator/simulator.pro +++ /dev/null @@ -1,64 +0,0 @@ -TARGET = DRAMSys - -TEMPLATE = app -CONFIG += console -CONFIG -= app_bundle -CONFIG -= qt - -systemc_home = $$(SYSTEMC_HOME) -isEmpty(systemc_home) { - systemc_home = /opt/systemc -} -message(SystemC home is $${systemc_home}) - -dramsys_disable_coverage_check = $$(DRAMSYS_DISABLE_COVERAGE_CHECK) -isEmpty(dramsys_disable_coverage_check) { - coverage_check = true - message(Coverage check ENABLED) -} else { - coverage_check = false - message(Coverage check DISABLED) -} - -unix:!macx { - message(Building on a GNU/Linux) - QMAKE_RPATHDIR += $${systemc_home}/lib - message(Linker options QMAKE_RPATHDIR is $${QMAKE_RPATHDIR}) -} - -DEFINES += TIXML_USE_STL -DEFINES += SC_INCLUDE_DYNAMIC_PROCESSES - -unix:!macx { - QMAKE_CXXFLAGS += -std=c++0x -O0 -g - $$eval(coverage_check) { - QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage -fPIC -O0 - QMAKE_LFLAGS += -lgcov --coverage - } -} - -macx: { - CONFIG += c++11 - QMAKE_CXXFLAGS += -std=c++0x -stdlib=libc++ -O0 -g - QMAKE_MACOSX_DEPLOYMENT_TARGET=10.14 - $$eval(coverage_check) { - QMAKE_CXXFLAGS += --coverage - QMAKE_LFLAGS += --coverage - } -} - -INCLUDEPATH += ../library/src/simulation/ -INCLUDEPATH += $${systemc_home}/include -INCLUDEPATH += ../library/src/common/third_party/DRAMPower/src -INCLUDEPATH += ../library/src/common/third_party/DRAMPower/src/libdrampower - -LIBS += -L$${systemc_home}/lib -lsystemc -LIBS += ../library/libDRAMSys.a -LIBS += ../../DRAMSys/library/src/common/third_party/DRAMPower/src/libdrampower.a -LIBS += -lsqlite3 - -PRE_TARGETDEPS += ../library/libDRAMSys.a - -SOURCES += main.cpp - -DISTFILES += ../DRAMSys.astylerc diff --git a/DRAMSys/traceAnalyzer/traceAnalyzer.pro b/DRAMSys/traceAnalyzer/traceAnalyzer.pro deleted file mode 100644 index 42817173..00000000 --- a/DRAMSys/traceAnalyzer/traceAnalyzer.pro +++ /dev/null @@ -1,121 +0,0 @@ -QT += core gui -QT += sql -CONFIG += no_keywords - -CONFIG += python -CONFIG += link_pkgconfig -PKGCONFIG += python3 - -CONFIG+=qwt - -macx: { - message(Building on a MAC) - - CONFIG += c++11 - QMAKE_CXXFLAGS += -std=c++0x -stdlib=libc++ - - QMAKE_LFLAGS += -F$$(LIBQWT_HOME) - LIBS += -F$$(LIBQWT_HOME) -framework qwt - INCLUDEPATH += $$(LIBQWT_HEADERS) - DEPENDPATH += $$replace(LIBQWT_HOME, lib, ) - - INCLUDEPATH += /usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/Headers/ - LIBS += -L/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/ -lpython3.6 - - CONFIG-=app_bundle -} - -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets - -TARGET = traceAnalyzer -TEMPLATE = app - -#copy python scripts -config.path = $${OUT_PWD}/scripts -config.files = scripts/* -INSTALLS += config - -SOURCES += main.cpp\ - businessObjects/transaction.cpp \ - businessObjects/timespan.cpp \ - data/tracedb.cpp \ - presentation/tracenavigator.cpp \ - presentation/util/colorgenerator.cpp \ - presentation/tracedrawing.cpp \ - presentation/traceplotitem.cpp \ - gototimedialog.cpp \ - presentation/traceplot.cpp \ - tracefiletab.cpp \ - presentation/pornotracescroller.cpp \ - traceanalyzer.cpp \ - presentation/transactiontreewidget.cpp \ - presentation/commenttreewidget.cpp \ - presentation/util/clkgrid.cpp \ - queryeditor.cpp \ - presentation/selectedtransactiontreewidget.cpp \ - businessObjects/phases/phasefactory.cpp \ - presentation/debugmessagetreewidget.cpp \ - presentation/tracePlotMouseLabel.cpp \ - evaluationtool.cpp \ - selectmetrics.cpp \ - presentation/util/testlight.cpp \ - presentation/tracetesttreewidget.cpp \ - businessObjects/pythoncaller.cpp \ - businessObjects/tracetestresults.cpp \ - presentation/tracemetrictreewidget.cpp \ - businessObjects/phases/phase.cpp - -HEADERS += businessObjects/transaction.h \ - businessObjects/timespan.h \ - businessObjects/generalinfo.h \ - data/tracedb.h \ - presentation/tracenavigator.h \ - presentation/util/colorgenerator.h \ - presentation/util/engineeringScaleDraw.h \ - presentation/tracedrawingproperties.h \ - presentation/tracedrawing.h \ - presentation/traceplotitem.h \ - gototimedialog.h \ - presentation/traceplot.h \ - tracefiletab.h \ - presentation/pornotracescroller.h \ - traceanalyzer.h \ - presentation/transactiontreewidget.h \ - businessObjects/comment.h \ - presentation/commenttreewidget.h \ - businessObjects/tracetime.h \ - presentation/util/clkgrid.h \ - presentation/util/customlabelscaledraw.h \ - data/QueryTexts.h \ - queryeditor.h \ - presentation/selectedtransactiontreewidget.h \ - businessObjects/phases/phasefactory.h \ - presentation/debugmessagetreewidget.h \ - presentation/tracePlotMouseLabel.h \ - evaluationtool.h \ - selectmetrics.h \ - presentation/util/testlight.h \ - presentation/tracetesttreewidget.h \ - businessObjects/pythoncaller.h \ - businessObjects/testresult.h \ - businessObjects/tracetestresults.h \ - presentation/tracemetrictreewidget.h \ - businessObjects/calculatedMetric.h \ - businessObjects/tracecalculatedmetrics.h \ - businessObjects/phases/phase.h \ - businessObjects/commandlengths.h - - -FORMS += \ - gototimedialog.ui \ - tracefiletab.ui \ - traceanalyzer.ui \ - queryeditor.ui \ - preferences.ui \ - selectmetrics.ui \ - evaluationtool.ui - -# Additional Files: -include(scripts/scripts.pri) - -DISTFILES += ../DRAMSys.astylerc