Skip to content
Snippets Groups Projects
Commit 523b0282 authored by Carl Mai's avatar Carl Mai
Browse files

small modification to readme and dockerfile

parent f0a3e5d0
No related branches found
No related tags found
No related merge requests found
...@@ -29,10 +29,11 @@ RUN Rscript /trainbenchmark/trainbenchmark-reporting/install.R ...@@ -29,10 +29,11 @@ RUN Rscript /trainbenchmark/trainbenchmark-reporting/install.R
WORKDIR /trainbenchmark WORKDIR /trainbenchmark
COPY trainbenchmark/ /trainbenchmark/ COPY trainbenchmark/ /trainbenchmark/
RUN chown -R user:user /trainbenchmark
COPY docker /trainbenchmark/docker COPY docker /trainbenchmark/docker
RUN chown -R user:user /trainbenchmark/docker
COPY docker/bashrc /home/user/.bashrc COPY docker/bashrc /home/user/.bashrc
RUN chown -R user:user /trainbenchmark
RUN chown -R user:user /home/user/.bashrc
USER user
RUN ./gradlew --no-daemon preprocess RUN ./gradlew --no-daemon preprocess
RUN ./gradlew --no-daemon build shadowJar -x test RUN ./gradlew --no-daemon build shadowJar -x test
......
...@@ -108,8 +108,8 @@ There are some naming conventions: ...@@ -108,8 +108,8 @@ There are some naming conventions:
- Model serialization-related modules start with `trainbenchmark-generator`. - Model serialization-related modules start with `trainbenchmark-generator`.
- All other modules are core modules of the bechmark. - All other modules are core modules of the bechmark.
Since the JastAdd-based solutions use a preprocessor to generate Java files, for the presented variant, it is even more compolicated. The JastAdd-based solutions use a preprocessor to generate Java files, for the presented variant.
Each JastAdd configuraration must be presented to the benchmark as a separate tool. Thus there are two directories for each variant, one for the bacht processing mode and one for the incremental mode. Each JastAdd configuraration must be presented to the benchmark as a separate tool. Thus there are two directories for each variant, one for the batch processing mode and one for the incremental mode.
Because these two modes share almost all the source code, a third directory is used to store this shared code. Because these two modes share almost all the source code, a third directory is used to store this shared code.
Finally, there is a directory for code shared between all JastAdd variants. Finally, there is a directory for code shared between all JastAdd variants.
These are the important directories: These are the important directories:
...@@ -150,7 +150,6 @@ However, since there are some software requirements imposed by the benchmark, pa ...@@ -150,7 +150,6 @@ However, since there are some software requirements imposed by the benchmark, pa
- Steps: - Steps:
- Unpack the provided archive and open a terminal in the extracted directory - Unpack the provided archive and open a terminal in the extracted directory
- `docker build -t trainbenchmark .` - `docker build -t trainbenchmark .`
- `docker run -it trainbenchmark`
##### Running the Docker Image ##### Running the Docker Image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment