-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the sorting algorithm because it's easy and I didn't even notice …
…Morwenn made the issue I'm sorry Morwenn I'm so slow q_q Vastly clean up the libraries forward definitions Add a single header generator and clean up the CMake a bit (thanks, Dizzyizzy) Add some github workflows shenanigans (how does this even work???)
- Loading branch information
Showing
46 changed files
with
1,288 additions
and
437 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Style | ||
|
||
on: [push] | ||
|
||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: configure | ||
run: cmake -B build/debug | ||
run: cmake -B build/release | ||
|
||
- name: build | ||
run: cmake --build build/debug --config Debug | ||
run: cmake --build build/release --config Release | ||
|
||
- name: test | ||
run: cmake --build build/debug --config Debug --target test | ||
run: cmake --build build/release --config Release --target test |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Ubuntu | ||
|
||
on: [push] | ||
|
||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: configure | ||
run: cmake -B build/debug | ||
run: cmake -B build/release | ||
|
||
- name: build | ||
run: cmake --build build/debug --config Debug | ||
run: cmake --build build/release --config Release | ||
|
||
- name: test | ||
run: cmake --build build/debug --config Debug --target test | ||
run: cmake --build build/release --config Release --target test |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Windows | ||
|
||
on: [push] | ||
|
||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: configure | ||
run: cmake -B build/debug | ||
run: cmake -B build/release | ||
|
||
- name: build | ||
run: cmake --build build/debug --config Debug | ||
run: cmake --build build/release --config Release | ||
|
||
- name: test | ||
run: cmake --build build/debug --config Debug --target test | ||
run: cmake --build build/release --config Release --target test |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.vscode/settings.json | ||
.vscode/c_cpp_properties.json | ||
build/ | ||
install/ | ||
.vs/ | ||
CMakeSettings.json | ||
.mypy_cache/ |
This file contains 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 contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,6 @@ if (MSVC) | |
/std:c++latest | ||
/EHsc | ||
/utf-8 | ||
/experimental:preprocessor | ||
/permissive- | ||
/W4 | ||
) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,86 @@ | ||
{ | ||
"name": "bit", | ||
"scale": { | ||
"type": "relative", | ||
"to": "base" | ||
}, | ||
"categories": [ | ||
{ | ||
"name": "find", | ||
"prefix": "find_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "count", | ||
"prefix": "count_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "fill", | ||
"prefix": "fill_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "copy", | ||
"prefix": "copy_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "copy_n", | ||
"prefix": "sized_copy_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "swap_ranges", | ||
"prefix": "swap_ranges_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "rotate", | ||
"prefix": "rotate_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "equal", | ||
"prefix": "equal_", | ||
"suffix": "" | ||
} | ||
], | ||
"data_labels": [ | ||
{ | ||
"ascending": true, | ||
"name": "real_time", | ||
"format": "clock" | ||
}, | ||
{ | ||
"ascending": true, | ||
"name": "cpu_time", | ||
"format": "clock" | ||
} | ||
], | ||
"remove_suffixes": [ | ||
",", | ||
"_" | ||
], | ||
"remove_prefixes": [ | ||
",", | ||
"_" | ||
], | ||
"sources": [ | ||
{ | ||
"prefix": "libc++", | ||
"file": "libc++.itsy.bitsy.benchmarks.json", | ||
"required": false | ||
}, | ||
{ | ||
"prefix": "libstdc++", | ||
"file": "libstdc++.itsy.bitsy.benchmarks.json", | ||
"required": false | ||
}, | ||
{ | ||
"prefix": "vc++", | ||
"file": "vc++.itsy.bitsy.benchmarks.json", | ||
"required": false | ||
} | ||
] | ||
} | ||
{ | ||
"name": "bit", | ||
"scale": { | ||
"type": "relative", | ||
"to": "base" | ||
}, | ||
"categories": [ | ||
{ | ||
"name": "find", | ||
"prefix": "find_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "count", | ||
"prefix": "count_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "fill", | ||
"prefix": "fill_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "copy", | ||
"prefix": "copy_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "copy_n", | ||
"prefix": "sized_copy_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "swap_ranges", | ||
"prefix": "swap_ranges_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "rotate", | ||
"prefix": "rotate_", | ||
"suffix": "" | ||
}, | ||
{ | ||
"name": "equal", | ||
"prefix": "equal_", | ||
"suffix": "" | ||
} | ||
], | ||
"data_labels": [ | ||
{ | ||
"ascending": true, | ||
"name": "real_time", | ||
"format": "clock" | ||
}, | ||
{ | ||
"ascending": true, | ||
"name": "cpu_time", | ||
"format": "clock" | ||
} | ||
], | ||
"remove_suffixes": [ | ||
",", | ||
"_" | ||
], | ||
"remove_prefixes": [ | ||
",", | ||
"_" | ||
], | ||
"sources": [ | ||
{ | ||
"prefix": "libc++", | ||
"file": "libc++.itsy.bitsy.benchmarks.json", | ||
"required": false | ||
}, | ||
{ | ||
"prefix": "libstdc++", | ||
"file": "libstdc++.itsy.bitsy.benchmarks.json", | ||
"required": false | ||
}, | ||
{ | ||
"prefix": "vc++", | ||
"file": "vc++.itsy.bitsy.benchmarks.json", | ||
"required": false | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# itsy.bitsy | ||
# | ||
# Copyright ⓒ 2019-present ThePhD. | ||
# | ||
# Distributed under the Boost Software License, Version 1.0. (See | ||
# accompanying file LICENSE or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
# | ||
# See https://github.com/ThePhD/itsy_bitsy#using-the-library for documentation. | ||
|
||
@PACKAGE_INIT@ | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/sol2-targets.cmake") | ||
|
||
MESSAGE(STATUS ${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
if (TARGET sol2) | ||
get_target_property(SOL2_INCLUDE_DIRS | ||
sol2 INTERFACE_INCLUDE_DIRECTORIES) | ||
set_and_check(SOL2_INCLUDE_DIRS "${SOL2_INCLUDE_DIRS}") | ||
set(SOL2_LIBRARIES sol2) | ||
endif() | ||
|
||
if(TARGET sol2_single) | ||
get_target_property(SOL2_SINGLE_INCLUDE_DIRS | ||
sol2_single INTERFACE_INCLUDE_DIRECTORIES) | ||
set_and_check(SOL2_INCLUDE_DIRS "${SOL2_SINGLE_INCLUDE_DIRS}") | ||
set(SOL2_LIBRARIES_SINGLE sol2_single) | ||
endif() |
Oops, something went wrong.
837744a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you implemented it in the hours after you noticed it you're actually the opposite of slow, don't worry about that ❤️
You really need to work on commit separation at some point though, be it only to turn revert and cherry pick into usable tools x)