Skip to content
Success

Changes

Summary

  1. Add automatic external fetching for JSON and Googletest (#1253) (details)
  2. Integrate Perfetto as backend for ScopedProfiling (#1238) (details)
Commit 5939456caa8ba81613dd623f958c404da29e05f0 by noreply
Add automatic external fetching for JSON and Googletest (#1253)

* Add "external" fetch option

* Automatically download googletest as an external if tests are enabled

This also fixes the target name to be `GTest::gtest` instead of the older deprecated `GTest::GTest` provided by FindGTest.CMake.

* Define test library macro to avoid installation

* Add windows CI build with fetching of googletest+json

* Fix static build by installing json

* fixup! Add windows CI build with fetching of googletest+json

* Update docs

* Try fixing windows build

* Disable windows fast test build for now

* Use cache variables for some defaults when Celeritas is top-level

* Require CMake 3.18 or higher and update policies

* Fix external command

* Use powershell and don't continue on error

* Continue on error since we don't have windows tests enabled yet
The file was modified test/celeritas/CMakeLists.txt (diff)
The file was removedcmake/backport/3.18/FindCUDAToolkit.cmake
The file was modified test/geocel/CMakeLists.txt (diff)
The file was modified CMakeLists.txt (diff)
The file was modified cmake/CeleritasAddTest.cmake (diff)
The file was modified test/corecel/CMakeLists.txt (diff)
The file was modified test/orange/CMakeLists.txt (diff)
The file was modified cmake/CeleritasConfig.cmake.in (diff)
The file was modified .github/workflows/build-fast.yml (diff)
The file was addedcmake/Findnlohmann_json.cmake
The file was modified cmake/CeleritasUtils.cmake (diff)
The file was modified test/CMakeLists.txt (diff)
The file was modified scripts/cmake-presets/ci-windows-github.json (diff)
The file was addedexternal/CMakeLists.txt
The file was modified doc/main/installation.rst (diff)
The file was modified test/accel/CMakeLists.txt (diff)
Commit 413ee9b3a38048ca67e5d726e7435d4843a41c62 by noreply
Integrate Perfetto as backend for ScopedProfiling (#1238)

The file was modified app/celer-sim/RunnerInputIO.json.cc (diff)
The file was modified src/celeritas_config.h.in (diff)
The file was modified src/corecel/sys/ScopedProfiling.hip.cc (diff)
The file was modified external/CMakeLists.txt (diff)
The file was modified scripts/cmake-presets/esseivaj.json (diff)
The file was modified app/celer-sim/RunnerInput.hh (diff)
The file was addedscripts/docker/interactive/build.sh
The file was addedsrc/corecel/sys/ScopedProfiling.cc
The file was addedscripts/docker/interactive/spack.yaml
The file was modified CMakeLists.txt (diff)
The file was modified app/celer-sim/Transporter.cc (diff)
The file was addedscripts/docker/interactive/CMakeUserPresets.json
The file was addedscripts/docker/interactive/Dockerfile
The file was modified src/corecel/sys/ScopedProfiling.cuda.cc (diff)
The file was addedscripts/docker/interactive/run.sh
The file was modified doc/main/usage.rst (diff)
The file was addedsrc/corecel/sys/detail/TrackEvent.perfetto.hh
The file was modified src/corecel/CMakeLists.txt (diff)
The file was addedsrc/corecel/sys/Counter.perfetto.cc
The file was addedscripts/docker/interactive/README.md
The file was addedscripts/docker/interactive/run-perfetto.sh
The file was modified src/corecel/sys/ScopedProfiling.hh (diff)
The file was addedsrc/corecel/sys/Counter.hh
The file was addedsrc/corecel/sys/TracingSession.hh
The file was modified app/celer-sim/celer-sim.cc (diff)
The file was addedscripts/docker/interactive/scheduling.cfg
The file was addedscripts/docker/interactive/setup_shell.sh
The file was addedsrc/corecel/sys/TracingSession.cc
The file was modified src/CMakeLists.txt (diff)