Skip to content

Commit

Permalink
[v23.11.32]: Linux (x86/64) is now supported! 🎉
Browse files Browse the repository at this point in the history
* Adjusts pxr namespace and Tf_MakePyConstructor not to wrap the import from within
  the opened scopes, but to instead open the namespaced scopes upon each individual
  independent iteration on BOOST_PP_ITERATE.
* Without this fix we recieve the following:
  error: redundant #include of module 'Tf' appears within namespace 'Pixar::Tf_MakePyConstructor':
  #include BOOST_PP_FILENAME_1
  ^
  Tf/makePyConstructor.h:108:1: note: namespace 'Pixar::Tf_MakePyConstructor' begins here:
  namespace Tf_MakePyConstructor {
* We now also support building SwiftUSD without the xcode toolchain on apple platforms, using the
  "vanilla swift toolchain", either toolchain is up to the user.
* Fixed some unkown references to TF_VERIFY in HgiInterop/HgiGL by including <Tf/diagnostic.h>.
* Fixed import guard of PyBundle to check PyBundle for existence instead of Python's existence.

MetaverseKit v1.6.7:
* We now conditionally apply sse2neon based on the chipset arch
  (ex. arm64, x86/64) you're building on.
* OpenColorIO needed to have target feature attributes added across
  all of its AVX and AVX2 functions.
* OCIOBundle was attempting to use setenv() (which overrides the
  OCIO env var with our provided configs), which apparently doesn't
  exist on Linux or uses some other function, opted to remove it for
  Linux since its assumed users on that platform likely already have
  OCIO configured to their preferences.
* TBB needed to have target feature attributes added for a single
  function prolonged_pause() which uses WAITPKG.
* HDF5 had a lowercased hdf5.h which Swift didn't see as an umbrella
  header on Linux because the target is uppercased, so Swift was attempting
  to (rather horribly incorrectly) generate one, renamed the file to HDF5.h and
  all was happy.
https://github.com/wabiverse/MetaverseKit/releases/tag/v1.6.7
  • Loading branch information
furby-tm committed Mar 17, 2024
1 parent 6dacb8b commit a584395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/wabiverse/MetaverseKit",
"state" : {
"branch" : "main",
"revision" : "de4a89d68a4584a94b3eb2655e658c3474863bc5"
"revision" : "de4a89d68a4584a94b3eb2655e658c3474863bc5",
"version" : "1.6.7"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/wabiverse/MetaverseKit", branch: "main"),
.package(url: "https://github.com/wabiverse/MetaverseKit", from: "1.6.7"),
.package(url: "https://github.com/furby-tm/swift-bundler", from: "2.0.9"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.3"),
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0"),
Expand Down

0 comments on commit a584395

Please sign in to comment.