-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from IOHprofiler/dev
Dev
- Loading branch information
Showing
1,222 changed files
with
132,623 additions
and
4,552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,5 +178,10 @@ cython_debug/ | |
|
||
data/ | ||
|
||
test.py | ||
CMakeSettings.json | ||
.clangd | ||
compile_commands.json | ||
debug | ||
release | ||
ioh_data | ||
run.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
[submodule "external/pybind11"] | ||
path = external/pybind11 | ||
url = ../../pybind/pybind11 | ||
branch = stable | ||
[submodule "external/googletest"] | ||
path = external/googletest | ||
url = ../../google/googletest/ | ||
branch = v1.10.x | ||
[submodule "external/pybind11"] | ||
path = external/pybind11 | ||
url = https://github.com/pybind/pybind11 | ||
branch = stable | ||
[submodule "external/googletest"] | ||
path = external/googletest | ||
url = https://github.com/google/googletest | ||
branch = v1.10.x | ||
[submodule "external/fmt"] | ||
path = external/fmt | ||
url = [email protected]:fmtlib/fmt | ||
url = https://github.com/fmtlib/fmt | ||
[submodule "external/clutchlog"] | ||
path = external/clutchlog | ||
url = https://github.com/jacobdenobel/clutchlog.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
FROM ubuntu | ||
|
||
# Dependencies | ||
RUN apt -y update | ||
RUN apt -y install software-properties-common | ||
RUN add-apt-repository universe | ||
RUN apt -y update | ||
RUN apt -y dist-upgrade | ||
RUN apt -y install git g++-8 cmake make | ||
RUN apt clean | ||
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-8 80 | ||
RUN update-alternatives --set c++ /usr/bin/g++-8 | ||
|
||
# Temporary directory where we are going to build everything. | ||
RUN tmpdir=$(mktemp -d) | ||
RUN mkdir -p ${tmpdir}/ioh/ | ||
WORKDIR ${tmpdir}/ioh/ | ||
|
||
# Build IOH | ||
RUN git clone --branch analyzer-logger --single-branch --recurse-submodules https://github.com/jdreo/IOHexperimenter.git | ||
WORKDIR ${tmpdir}/ioh/IOHexperimenter | ||
RUN mkdir -p debug | ||
WORKDIR ${tmpdir}/ioh/IOHexperimenter/debug | ||
RUN cmake -D CMAKE_BUILD_TYPE=Debug -D BUILD_TESTS=ON -D BUILD_EXAMPLE=ON -D BUILD_GMOCK=ON .. | ||
RUN make | ||
|
||
# Install | ||
RUN mkdir -p /usr/local/opt/ioh | ||
RUN cp tests/test_* /usr/local/opt/ioh/ | ||
|
||
# Clean-up | ||
RUN rm -rf ${tmpdir} | ||
|
||
# keep cmake to run ctest | ||
RUN apt -y purge software-properties-common git g++-8 make | ||
RUN apt -y --purge autoremove | ||
RUN apt -y autoclean | ||
RUN apt clean | ||
|
||
WORKDIR /usr/local/opt/ioh/ | ||
CMD ['/usr/local/opt/ioh/test_store'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docker build -f issue94.dockdef -t ioh/issue94 . | ||
docker run -t ioh/issue94 /usr/local/opt/ioh/test_store --gtest_filter=BaseTest.store_properties XDebug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.