Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to CMake in CI and docs #2514

Merged
merged 45 commits into from
Jun 14, 2023
Merged

Switch to CMake in CI and docs #2514

merged 45 commits into from
Jun 14, 2023

Conversation

dschwoerer
Copy link
Contributor

Rebase of #2502

Now without removing configure files - to be done for v5.1.0

@dschwoerer
Copy link
Contributor Author

Is it intentionally that we now require fastcov?

@ZedThree
Copy link
Member

ZedThree commented Mar 1, 2022

I think fastcov was just easier/faster to use

@dschwoerer
Copy link
Contributor Author

If you get fastcov to work in CI ...

We need to link with gcov to get gcda files. Further, they are in the
build directories, not the source directories.
ZedThree
ZedThree previously approved these changes Mar 4, 2022
Copy link
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Couple of suggestions

cmake/Sanitizers.cmake Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Peter Hill <peter.hill@york.ac.uk>
@ZedThree ZedThree added this to the BOUT-5.0 milestone Jul 26, 2022
@ZedThree ZedThree self-assigned this Jul 27, 2022
@ZedThree
Copy link
Member

ZedThree commented Jul 27, 2022

Todo before merge:

  • Add deprecation notice to ./configure
  • Make sure the docs all use cmake by default

ZedThree and others added 3 commits July 28, 2022 17:44
* next: (517 commits)
  Apply clang-format
  Fix some clang-tidy suggestions in PCR Thomas
  Remove duplicated header in Laplace PCR Thomas
  Fix type of `Coordinates::zlength/dz` in Laplace PCR Thomas
  Fix `LaplacePCR_THOMAS` constructor for new Laplace parameters
  Docs: Fix some formatting issues
  Docs: Fix some broken tables
  Docs: Fix some xBout links
  Docs: Remove outdated note
  Docs: Fix some whitespace
  Docs: Update Ubuntu instructions
  Docs: Explain some common CMake options
  Docs: Add a short quickstart guide with basic instructions
  Docs: Move and expand section on building examples/models with CMake
  Docs: Whitespace cleanup
  Docs: Expand basic CMake docs
  Docs: Note that configure is deprecated
  Docs: Remove out-dated note
  Docs: Use `https` instead of `git` protocol
  Remove some useless forward declarations
  ...
@dschwoerer
Copy link
Contributor Author

I updated the docs, however, I haven't tested all commands - so checking would be greatly appreciated.

@ZedThree ZedThree modified the milestones: BOUT-5.0, BOUT-6.0 Feb 22, 2023
dschwoerer and others added 7 commits April 26, 2023 09:35
on 'Advanced installation options' page of manual.
(version 3.19 is not compatible)
[skip ci]
Include -S and -B flags, so examples are more consistent.
Use <build-directory> to indicate the path to the build directory.
[skip ci]
on 'Advanced installation options' page of manual.
[skip ci]
@ZedThree
Copy link
Member

The failing tests are just Fedora, and that was already fixed in next

@ZedThree ZedThree changed the title Switch to CMake Switch to CMake in CI and docs Jun 14, 2023
@ZedThree ZedThree merged commit f695441 into next Jun 14, 2023
18 of 20 checks passed
@ZedThree ZedThree deleted the ci-cmake-only branch June 14, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants