-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fastgltf: add versions 0.7.2, 0.8.0 (#22960)
* [fastgltf] Update to 0.7.1 * [fastgltf] Add versions 0.7.2 and 0.8.0 * fastgltf: drop support for older versions * fastgltf: minimal test package --------- Co-authored-by: Luis Caro Campos <[email protected]>
- Loading branch information
Showing
9 changed files
with
18 additions
and
147 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 |
---|---|---|
@@ -1,24 +1,7 @@ | ||
sources: | ||
"0.7.0": | ||
url: "https://github.com/spnda/fastgltf/archive/refs/tags/v0.7.0.tar.gz" | ||
sha256: "1d0af69db938fd81dd34ea51f99e37f0023852c93befe63e23f9e55abd4a18ec" | ||
"0.6.1": | ||
url: "https://github.com/spnda/fastgltf/archive/refs/tags/v0.6.1.tar.gz" | ||
sha256: "5f10b153ec941f5e6465425f542d3864f586aca040b0b659cb9ae70d42369390" | ||
"0.5.0": | ||
url: "https://github.com/spnda/fastgltf/archive/refs/tags/v0.5.0.tar.gz" | ||
sha256: "f67558da009bfd1174b3f32606c41c20fe6fbcb70fc516e9f7bf0f63c06e87ff" | ||
"0.4.0": | ||
url: "https://github.com/spnda/fastgltf/archive/refs/tags/v0.4.0.tar.gz" | ||
sha256: "77debe12acb6b498ea77306ce64277cedb14ad803b461ea677a61bc604bb59b5" | ||
patches: | ||
"0.6.1": | ||
- patch_file: "patches/0.6.1-0001-find_package-simdjson.patch" | ||
patch_description: "find_package simdjson" | ||
patch_type: "conan" | ||
patch_source: "https://github.com/spnda/fastgltf/issues/22" | ||
"0.5.0": | ||
- patch_file: "patches/0.5.0-0001-find_package-simdjson.patch" | ||
patch_description: "find_package simdjson" | ||
patch_type: "conan" | ||
patch_source: "https://github.com/spnda/fastgltf/issues/22" | ||
"0.8.0": | ||
url: "https://github.com/spnda/fastgltf/archive/refs/tags/v0.8.0.tar.gz" | ||
sha256: "0bc88a0858c88d94306443946a5a1606118b7d5e4960f1e6186a3632e9df38fb" | ||
"0.7.2": | ||
url: "https://github.com/spnda/fastgltf/archive/refs/tags/v0.7.2.tar.gz" | ||
sha256: "292fc9d0d5a6726c90db88c1aadf09e6d152ffc0ebffe6fb968736c47288511c" |
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
13 changes: 0 additions & 13 deletions
13
recipes/fastgltf/all/patches/0.5.0-0001-find_package-simdjson.patch
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
recipes/fastgltf/all/patches/0.6.1-0001-find_package-simdjson.patch
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,26 +1,8 @@ | ||
#include <cstdio> | ||
#if defined(FASTGLTF_0_7_0_LATER) | ||
# include <fastgltf/core.hpp> | ||
#elif defined(FASTGLTF_0_5_0_LATER) | ||
# include <fastgltf/parser.hpp> | ||
#else | ||
# include <fastgltf_parser.hpp> | ||
#endif | ||
|
||
#include <thread> | ||
#include <chrono> | ||
#include <fastgltf/core.hpp> | ||
|
||
int main() { | ||
#ifdef FASTGLTF_0_5_0_LATER | ||
// gcc < 11 uses pthread_once for std::call_once. | ||
// there is an known bug about pthread_once with older glibc. | ||
// This is workaround for that. | ||
// see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60662 | ||
std::this_thread::sleep_for(std::chrono::milliseconds(1)); | ||
#endif | ||
fastgltf::Exporter exporter; | ||
exporter.setUserPointer(nullptr); | ||
|
||
fastgltf::Parser parser; | ||
printf("Version: " FASTGLTF_QUOTE(FASTGLTF_VERSION) "\n"); | ||
printf("C++17: " FASTGLTF_QUOTE(FASTGLTF_CPP_17) "\n"); | ||
printf("C++20: " FASTGLTF_QUOTE(FASTGLTF_CPP_20) "\n"); | ||
return 0; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 +1,5 @@ | ||
versions: | ||
"0.7.0": | ||
"0.8.0": | ||
folder: all | ||
"0.6.1": | ||
folder: all | ||
"0.5.0": | ||
folder: all | ||
"0.4.0": | ||
"0.7.2": | ||
folder: all |