Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/arm64-macos-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(sysctl -n hw.logicalcpu) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-bitmaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_USE_HWLOC=${{matrix.HWLOC}} -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} ${{matrix.THREADS == 'ON' && '-DTMC_MORE_THREADS=ON' || ''}} ${{matrix.WORK_ITEM == 'FUNC' && '-DTMC_TRIVIAL_TASK=ON' || ''}} -DCMD_COMPILE_FLAGS='-Werror;-fprofile-instr-generate;-fcoverage-mapping' -DCMD_LINK_FLAGS='-Wl,--build-id;-fprofile-instr-generate;-fcoverage-mapping' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_USE_HWLOC=${{matrix.HWLOC}} -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} ${{matrix.THREADS == 'ON' && '-DTMC_MORE_THREADS=ON' || ''}} ${{matrix.WORK_ITEM == 'FUNC' && '-DTMC_TRIVIAL_TASK=ON' || ''}} -DCMD_COMPILE_FLAGS='-Werror;-fprofile-instr-generate;-fcoverage-mapping' -DCMD_LINK_FLAGS='-Wl,--build-id;-fprofile-instr-generate;-fcoverage-mapping' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
RUN apt-get update && apt-get install -y cmake ninja-build git libhwloc-dev hwloc
WORKDIR /src
COPY . .
RUN cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_USE_HWLOC=${{matrix.HWLOC}} -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} ${{matrix.WORK_ITEM == 'FUNC' && '-DTMC_TRIVIAL_TASK=ON' || ''}} -DCMD_COMPILE_FLAGS='-Werror;-fprofile-instr-generate;-fcoverage-mapping' -DCMD_LINK_FLAGS='-Wl,--build-id;-fprofile-instr-generate;-fcoverage-mapping' --preset ${{matrix.PRESET}} .
RUN cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_USE_HWLOC=${{matrix.HWLOC}} -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} ${{matrix.WORK_ITEM == 'FUNC' && '-DTMC_TRIVIAL_TASK=ON' || ''}} -DCMD_COMPILE_FLAGS='-Werror;-fprofile-instr-generate;-fcoverage-mapping' -DCMD_LINK_FLAGS='-Wl,--build-id;-fprofile-instr-generate;-fcoverage-mapping' --preset ${{matrix.PRESET}} .
RUN cmake --build ./build/${{matrix.PRESET}} --parallel 16 --target test_container
WORKDIR /src/build/${{matrix.PRESET}}/tests
EOF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_USE_HWLOC=${{matrix.HWLOC}} -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} ${{matrix.WORK_ITEM == 'FUNC' && '-DTMC_TRIVIAL_TASK=ON' || ''}} -DCMD_COMPILE_FLAGS='-Werror;-fprofile-instr-generate;-fcoverage-mapping' -DCMD_LINK_FLAGS='-Wl,--build-id;-fprofile-instr-generate;-fcoverage-mapping' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_USE_HWLOC=${{matrix.HWLOC}} -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} ${{matrix.WORK_ITEM == 'FUNC' && '-DTMC_TRIVIAL_TASK=ON' || ''}} -DCMD_COMPILE_FLAGS='-Werror;-fprofile-instr-generate;-fcoverage-mapping' -DCMD_LINK_FLAGS='-Wl,--build-id;-fprofile-instr-generate;-fcoverage-mapping' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/topology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target hwloc_topo
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x64-linux-clang-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-fsanitize=address' -DCMD_LINK_FLAGS='-fsanitize=address' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-fsanitize=address' -DCMD_LINK_FLAGS='-fsanitize=address' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x64-linux-clang-tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-fsanitize=thread' -DCMD_LINK_FLAGS='-fsanitize=thread' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-fsanitize=thread' -DCMD_LINK_FLAGS='-fsanitize=thread' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x64-linux-clang-ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-fsanitize=undefined;-fno-sanitize-recover' -DCMD_LINK_FLAGS='-fsanitize=undefined' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-fsanitize=undefined;-fno-sanitize-recover' -DCMD_LINK_FLAGS='-fsanitize=undefined' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x64-linux-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x64-linux-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x64-windows-clang-cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- uses: ilammy/msvc-dev-cmd@v1
- name: configure
run: cmake -G "Ninja" -DTMC_AS_SUBMODULE=ON -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
run: cmake -G "Ninja" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x86-linux-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_USE_HWLOC=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-m32' -DCMD_LINK_FLAGS='-m32' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_USE_HWLOC=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-m32' -DCMD_LINK_FLAGS='-m32' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x86-linux-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# continue-on-error: true # this should never fail if triggered from TMC workflow
run: cd submodules/TooManyCooks && git fetch && git checkout ${{env.BRANCH_NAME}}
- name: configure
run: cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 -DTMC_AS_SUBMODULE=ON -DTMC_USE_HWLOC=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-m32' -DCMD_LINK_FLAGS='-m32' --preset ${{matrix.PRESET}} .
run: cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 -DTMC_AS_SUBMODULE=ON -DTMC_COPY_COMPILE_COMMANDS=OFF -DTMC_USE_HWLOC=OFF -DTMC_WORK_ITEM=${{matrix.WORK_ITEM}} -DCMD_COMPILE_FLAGS='-Werror;-m32' -DCMD_LINK_FLAGS='-m32' --preset ${{matrix.PRESET}} .
- name: build
run: cmake --build ./build/${{matrix.PRESET}} --parallel $(nproc) --target all
- name: run tests
Expand Down
Loading