Skip to content

Commit

Permalink
Update the name of the packages and files in preparation for the talk.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrbrandt committed Apr 23, 2021
1 parent 20a73c2 commit e3b2a72
Show file tree
Hide file tree
Showing 10 changed files with 713 additions and 457 deletions.
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM fedora
FROM fedora:33

RUN dnf install -y vim findutils gcc gcc-c++ make git svn curl cmake python3 \
boost-devel gperftools-devel hwloc-devel libatomic vim gdb file \
python3-pybind11 python3-devel python3-numpy python3-matplotlib

ENV BUILD_PROCS 20

#COPY clang-build.sh /usr/local/bin/
#RUN bash /usr/local/bin/clang-build.sh
RUN dnf install -y clang libcxx-devel

COPY cxx17_shared_ptr_array.cpp /usr/local/include
Expand All @@ -20,17 +18,18 @@ RUN mkdir -p /usr/local/python
WORKDIR /usr/local/python
COPY runcode.py .
WORKDIR /usr/local/src
COPY clangw.cpp .
COPY clangw.cppm .
COPY clangwpy11.cpp .
COPY clangmi.cpp .
COPY clangmi.cppm .
COPY clangmipy11.cpp .
COPY Seg.hpp .
COPY runtime_support.hpp /usr/local/include/hpx/runtime/components/server/

RUN useradd -m jovyan

COPY demo.ipynb /home/jovyan/
RUN chown jovyan /home/jovyan/demo.ipynb
COPY --chown=jovyan cppnow2021.ipynb /home/jovyan/

RUN mkdir -p /home/jovyan/images
COPY --chown=jovyan cppnow.png /home/jovyan/images
USER jovyan
WORKDIR /home/jovyan
ENV PYTHONPATH /usr/local/python
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion clangw.cppm → clangmi.cppm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export module clangw;
export module clangmi;
export import <cstddef>;
export import <iostream>;
export import <string>;
Expand Down
2 changes: 1 addition & 1 deletion clangwpy11.cpp → clangmipy11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct Array_ptr {
}
};

PYBIND11_MODULE(clangw, m) {
PYBIND11_MODULE(clangmi, m) {
py::class_<Array_ptr>(m, "Array", py::buffer_protocol())
.def_buffer([](Array_ptr& a) -> py::buffer_info {
return py::buffer_info(
Expand Down
Binary file added cppnow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e3b2a72

Please sign in to comment.