moved to https://github.com/geospace-code/trustedqsl-wsjtx-upload-lotw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [flake8] | |
| max-line-length = 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FetchContent_Declare(boost_ut | |
| GIT_REPOSITORY https://github.com/boost-ext/ut.git | |
| GIT_TAG v2.3.1) | |
| FetchContent_MakeAvailable(boost_ut) | |
| # link this object to your test executable, then call discover_boost_ut_test() on it | |
| add_library(boost_ut_runner OBJECT test_runner.cpp) | |
| target_link_libraries(boost_ut_runner PUBLIC Boost::ut) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.21) | |
| if(NOT CMAKE_BUILD_TYPE AND NOT DEFINED ENV{CMAKE_BUILD_TYPE}) | |
| set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build.") | |
| endif() | |
| project(SleepDemo LANGUAGES C CXX) | |
| enable_testing() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.19...4.2) | |
| project(InstructionSet LANGUAGES CXX) | |
| set(CMAKE_CXX_SCAN_FOR_MODULES OFF) | |
| enable_testing() | |
| include(CheckIncludeFileCXX) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.20) | |
| project(min LANGUAGES CXX Fortran) | |
| set(CMAKE_CXX_SCAN_FOR_MODULES OFF) | |
| # set OFF if not using C++ modules, or it can trip similar compiler errors due to "-fmodules-ts" flags auto-added when ON. | |
| message(STATUS "CMAKE_OSX_SYSROOT ${CMAKE_OSX_SYSROOT}") | |
| foreach(i IN ITEMS OS_NAME OS_VERSION OS_RELEASE OS_PLATFORM) |
Using GitHub Actions cache is a little more complicated than not caching, but makes the setup time dramatically shorter.
This example uses MKL and MPI.
To avoid problems with the CI executing the scripts, do one time:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.19) | |
| project(OpenMPdemo LANGUAGES C) | |
| find_package(OpenMP COMPONENTS C REQUIRED) | |
| add_executable(hello hello_openmp.c) | |
| target_link_libraries(hello PRIVATE OpenMP::OpenMP_C) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.9" | |
| # dependencies = ["zstandard; python_version < '3.14'"] | |
| # /// | |
| """ | |
| https://docs.python.org/3.14/library/compression.zstd.html#compression.zstd.ZstdFile | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is for use with a Hugo blog. | |
| # be careful using this on real-life site, so that the patterns below don't dump legitimate traffic! | |
| # we use 410 to be more aggressive than 404, and to unclutter Netlify statistics | |
| /.env /bot.html 410 | |
| /blog.zip /bot.html 410 | |
| /.git/* /bot.html 410 | |
| /browserconfig.xml /bot.html 410 | |
| /OLD/* /bot.html 410 | |
| /404.html /bot.html 410 |
NewerOlder