Skip to content

Commit

Permalink
Add makefile stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartee committed Jan 28, 2022
1 parent 8920f4c commit 72d34d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ check-lint:
docs:
@cd doc; make html

# help: docks - generate project documentation with docker
# help: docks - generate project documentation with docker
.PHONY: docks
docks:
@if [ -d "docs" ]; then rm -rf docs; fi
Expand All @@ -106,6 +106,14 @@ cov:
@coverage html
@echo if data was present, coverage report is in ./htmlcov/index.html


# help: tutorials-dev - Build and start a docker container to run the tutorials
.PHONY: tutorials-dev
tutorials-dev:
@docker compose build tutorials
@docker run -p 8888:8888 smartsim-tutorials:dev-latest


# help:
# help: Test
# help: -------
Expand Down
6 changes: 0 additions & 6 deletions docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ LABEL maintainer="Cray Labs"
ARG DEBIAN_FRONTEND="noninteractive"
ENV TZ=US/Seattle

#TODO
# - add openmpi
# - add tutorials from other sections
# - add permissions to the craylabs user

RUN useradd --system --create-home --shell /bin/bash -g root -G sudo craylabs

RUN apt-get update \
Expand All @@ -32,7 +27,6 @@ USER craylabs
RUN cd SmartSim && \
SMARTSIM_SUFFIX=dev python -m pip install .


# TODO set SmartRedis version when thats put in
#RUN git clone https://github.com/CrayLabs/SmartSim.git --branch develop --depth=1 \
# && cd SmartSim \
Expand Down

0 comments on commit 72d34d6

Please sign in to comment.