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

Prep for dependencies 9.0.0 alpha 1 #267

Merged
merged 17 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ jobs:
# Remove CommandLineTools so there is no potential for conflict with
# our selected Xcode version.
sudo rm -rf /Library/Developer/CommandLineTools
sudo rm -rf /Applications/Python\ 3.10
# Remove little-cms2 to prevent our LibRaw builds from finding it.
brew uninstall --ignore-dependencies little-cms2
shell: bash
if: runner.os == 'macOS'

Expand Down
3 changes: 2 additions & 1 deletion BitstreamVera/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

"downloads" : [

"https://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.gz"
"https://mirrors.dotsrc.org/gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.gz"

],

"url" : "https://www.gnome.org/fonts",
Expand Down
15 changes: 14 additions & 1 deletion Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@

- CI : Added CI for linux-gcc11 and macos-arm64 (Xcode 14.3.1).
- LLVM : Updated to version 15.0.7.
- Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs.
- Cortex : Updated to version 10.5.9.1.
- Cycles :
- Updated to version 4.2.0.
- Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs.
- Embree : Updated to version 4.3.2.
- Imath : Updated to version 3.1.11.
- LibJPEG-Turbo : Updated to version 3.0.3.
- MaterialX : Updated to version 1.38.10.
- OpenImageIO : Updated to version 2.5.10.1.
- OpenPGL : Updated to version 0.6.0.
- PySide : Updated to version 5.15.14.
- Qt : Updated to version 5.15.14.
- USD : Updated to version 24.08.
- Zstandard : Added version 1.5.0.

8.x.x (relative to 8.0.1)
-----
Expand Down
2 changes: 1 addition & 1 deletion Cortex/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/ImageEngine/cortex/archive/refs/tags/10.5.7.1.tar.gz"
"https://github.com/ImageEngine/cortex/archive/refs/tags/10.5.9.1.tar.gz"

],

Expand Down
11 changes: 9 additions & 2 deletions Cycles/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@

"downloads" : [

"https://github.com/blender/cycles/archive/refs/tags/v4.0.2.tar.gz",
"https://github.com/blender/cycles/archive/refs/tags/v4.2.0.tar.gz",

],

"url" : "https://www.cycles-renderer.org/",

"license" : "LICENSE",

"dependencies" : [ "Boost", "OpenJPEG", "OpenImageIO", "TBB", "Alembic", "Embree", "OpenColorIO", "OpenVDB", "OpenShadingLanguage", "OpenSubdiv", "OpenPGL", "LibWebP" ],
"dependencies" : [ "Boost", "OpenJPEG", "OpenImageIO", "TBB", "Alembic", "Embree", "OpenColorIO", "OpenVDB", "OpenShadingLanguage", "OpenSubdiv", "OpenPGL", "LibWebP", "Zstandard" ],

"commands" : [

# The Cycles archive includes empty folders under `./lib`
# named `{platform}_{architecture}`. The existence of a folder
# in lib matching the current platform and architecture causes
# the build to only look for dependencies within it, so we
# remove them to allow dependencies to be found in `{buildDir}`.
"rmdir ./lib/*",

"mkdir build",
"cd build &&"
" cmake"
Expand Down
15 changes: 8 additions & 7 deletions Cycles/patches/cudaBinaries.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,7 @@
mark_as_advanced(WITH_CYCLES_DEVICE_CUDA)
@@ -122,7 +122,7 @@

option(WITH_CYCLES_CUDA_BINARIES "Build Cycles NVIDIA CUDA binaries" OFF)
- set(CYCLES_CUDA_BINARIES_ARCH sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 CACHE STRING "CUDA architectures to build binaries for")
+ set(CYCLES_CUDA_BINARIES_ARCH sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 CACHE STRING "CUDA architectures to build binaries for")
option(WITH_CYCLES_CUDA_BUILD_SERIAL "Build cubins one after another (useful on machines with limited RAM)" OFF)
option(WITH_CUDA_DYNLOAD "Dynamically load CUDA libraries at runtime (for developers, makes cuda-gdb work)" ON)
option(WITH_CYCLES_CUDA_BINARIES "Build Cycles NVIDIA CUDA binaries" OFF)
set(CYCLES_CUDA_BINARIES_ARCH
- sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75
+ sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75
CACHE STRING "CUDA architectures to build binaries for"
)
option(WITH_CYCLES_CUDA_BUILD_SERIAL "\
28 changes: 0 additions & 28 deletions Cycles/patches/iorDefaults.patch

This file was deleted.

2 changes: 1 addition & 1 deletion Embree/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/embree/embree/archive/v4.3.0.tar.gz"
"https://github.com/embree/embree/archive/v4.3.2.tar.gz"

],

Expand Down
2 changes: 1 addition & 1 deletion Imath/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.9.tar.gz"
"https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.11.tar.gz"

],

Expand Down
18 changes: 17 additions & 1 deletion Jinja2/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,24 @@

"commands" : [

"{buildDir}/bin/python setup.py install --root / --prefix {buildDir}",
"{buildDir}/bin/python setup.py install --root / --prefix {buildDir} {extraArgs}",

],

"variables" : {

"extraArgs" : "",

},

"platform:macos" : {

"variables" : {

"extraArgs" : "--install-lib {pythonLibDir}/python{pythonVersion}/site-packages",

}

},

}
12 changes: 8 additions & 4 deletions LibJPEG-Turbo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://download.sourceforge.net/project/libjpeg-turbo/1.5.2/libjpeg-turbo-1.5.2.tar.gz",
"https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.3/libjpeg-turbo-3.0.3.tar.gz",

],

Expand All @@ -11,9 +11,13 @@

"commands" : [

"./configure --prefix={buildDir}",
"make -j {jobs}",
"make install",
"mkdir build",
"cd build &&"
" cmake"
" -D CMAKE_INSTALL_PREFIX={buildDir}"
" -D CMAKE_INSTALL_LIBDIR={buildDir}/lib"
" ..",
"cd build && make -j {jobs} && make install",

],

Expand Down
18 changes: 17 additions & 1 deletion MarkupSafe/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,24 @@

"commands" : [

"{buildDir}/bin/python setup.py install --root / --prefix {buildDir}",
"{buildDir}/bin/python setup.py install --root / --prefix {buildDir} {extraArgs}",

],

"variables" : {

"extraArgs" : "",

},

"platform:macos" : {

"variables" : {

"extraArgs" : "--install-lib {pythonLibDir}/python{pythonVersion}/site-packages",

}

},

}
2 changes: 1 addition & 1 deletion MaterialX/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/AcademySoftwareFoundation/MaterialX/archive/refs/tags/v1.38.8.tar.gz",
"https://github.com/AcademySoftwareFoundation/MaterialX/archive/refs/tags/v1.38.10.tar.gz",

],

Expand Down
11 changes: 0 additions & 11 deletions MaterialX/patches/cxxStandard.patch

This file was deleted.

3 changes: 2 additions & 1 deletion OpenImageIO/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/OpenImageIO/oiio/archive/refs/tags/v2.5.8.0.tar.gz"
"https://github.com/OpenImageIO/oiio/archive/refs/tags/v2.5.10.1.tar.gz"

],

Expand Down Expand Up @@ -30,6 +30,7 @@
" -D CMAKE_PREFIX_PATH={buildDir}"
" -D USE_FFMPEG=NO"
" -D USE_GIF=0"
" -D USE_OPENVDB=NO"
" -D USE_PYTHON=YES"
" -D USE_EXTERNAL_PUGIXML=YES"
" -D BUILD_MISSING_FMT=NO"
Expand Down
2 changes: 1 addition & 1 deletion OpenPGL/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v0.5.0.tar.gz"
"https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v0.6.0.tar.gz"

],

Expand Down
2 changes: 1 addition & 1 deletion PySide/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.12-src/pyside-setup-opensource-src-5.15.12.tar.xz"
"https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.14-src/pyside-setup-opensource-src-5.15.14.tar.xz"

],

Expand Down
2 changes: 1 addition & 1 deletion Qt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://download.qt.io/official_releases/qt/5.15/5.15.12/single/qt-everywhere-opensource-src-5.15.12.tar.xz"
"https://download.qt.io/official_releases/qt/5.15/5.15.14/single/qt-everywhere-opensource-src-5.15.14.tar.xz"

],

Expand Down
2 changes: 1 addition & 1 deletion USD/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"downloads" : [

"https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v23.11.tar.gz"
"https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v24.08.tar.gz"

],

Expand Down
37 changes: 37 additions & 0 deletions Zstandard/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{

"downloads" : [

"https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz"

],

"url" : "http://zstd.net",

"license" : "LICENSE",

"commands" : [

"mkdir gafferBuild",
"cd gafferBuild &&"
" cmake"
" -D CMAKE_CXX_STANDARD={c++Standard}"
" -D CMAKE_INSTALL_PREFIX={buildDir}"
" -D CMAKE_INSTALL_LIBDIR={buildDir}/lib"
" -D CMAKE_BUILD_TYPE=Release"
" -D ZSTD_BUILD_PROGRAMS=OFF"
" -D ZSTD_BUILD_TESTS=OFF"
" ../build/cmake",

"cd gafferBuild && make -j {jobs} && make install",

],

"manifest" : [

"include/zstd.h",
"lib/libzstd{sharedLibraryExtension}*"

],

}