File tree 7 files changed +43
-10
lines changed
7 files changed +43
-10
lines changed Original file line number Diff line number Diff line change
1
+ # cp $HOME/forked/pybind11/tests/requirements.txt .
2
+ # docker build -t pybind11_clang-dev .
3
+
4
+ # docker run --rm -v $HOME/forked/pybind11:/mounted_pybind11 -it pybind11_clang-dev
5
+ # cat how_to.txt
6
+
7
+ FROM silkeh/clang:dev
8
+ RUN apt-get update && apt-get install -y apt-utils
9
+ RUN apt-get install -y python3-dev python3-pip python3-numpy python3-pytest libeigen3-dev make git vim
10
+ RUN python3 -m pip install --upgrade pip
11
+ COPY requirements.txt .
12
+ RUN python3 -m pip install cmake -r requirements.txt --prefer-binary
13
+ COPY how_to.txt .
Original file line number Diff line number Diff line change
1
+ Example build & test
2
+ --------------------
3
+ cmake -S /mounted_pybind11/ -B build -DCMAKE_VERBOSE_MAKEFILE=ON -DDOWNLOAD_EIGEN=ON -DDOWNLOAD_CATCH=ON -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ -DCMAKE_CXX_STANDARD=23 -DCMAKE_BUILD_TYPE=Debug
4
+ cmake --build build -j 16 -- --keep-going
5
+ cmake --build build --target pytest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # docker build -t pybind11_clang-tidy_13 .
2
+ # docker run --rm -v $HOME/forked/pybind11:/mounted_pybind11 -it pybind11_clang-tidy_13
3
+
4
+ FROM silkeh/clang:13
5
+ RUN apt-get update && apt-get install -y python3-dev python3-pytest vim
6
+ COPY how_to.txt .
Original file line number Diff line number Diff line change
1
+ cmake -S /mounted_pybind11/ -B build -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_CLANG_TIDY="$(which clang-tidy);-fix" -DDOWNLOAD_EIGEN=ON -DDOWNLOAD_CATCH=ON -DCMAKE_CXX_STANDARD=17
2
+ cmake --build build -j 16 -- --keep-going
Original file line number Diff line number Diff line change
1
+ # cp $HOME/forked/pybind11/tests/requirements.txt .
2
+ # docker build -t pybind11_clang14 .
3
+
4
+ # docker run --rm -v $HOME/forked/pybind11:/mounted_pybind11 -it pybind11_clang14
5
+ # cat how_to.txt
6
+
7
+ FROM silkeh/clang:14
8
+ RUN apt-get update && apt-get install -y python3-dev python3-pip python3-numpy python3-pytest libeigen3-dev make git vim
9
+ RUN python3 -m pip install --upgrade pip
10
+ COPY requirements.txt .
11
+ RUN python3 -m pip install cmake -r requirements.txt --prefer-binary
12
+ COPY how_to.txt .
Original file line number Diff line number Diff line change
1
+ Example build & test
2
+ --------------------
3
+ cmake -S /mounted_pybind11/ -B build -DCMAKE_VERBOSE_MAKEFILE=ON -DDOWNLOAD_EIGEN=ON -DDOWNLOAD_CATCH=ON -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ -DCMAKE_CXX_STANDARD=23 -DCMAKE_BUILD_TYPE=Debug
4
+ cmake --build build -j 16 -- --keep-going
5
+ cmake --build build --target pytest
You can’t perform that action at this time.
0 commit comments