Skip to content

Instantly share code, notes, and snippets.

View zachlewis's full-sized avatar

zachlewis

  • Method Studios
View GitHub Profile
@zachlewis
zachlewis / keybase.md
Last active July 19, 2017 01:37
Keybase? Don't mind if I do.

Keybase proof

I hereby claim:

  • I am zachlewis on github.
  • I am zachlewis (https://keybase.io/zachlewis) on keybase.
  • I have a public key ASCQZT-p0ATGgDIXIbVVeAx_r7IYT81G0yRzCTjlu2JZRgo

To claim this, I am signing this object:

@zachlewis
zachlewis / OutputTransformThing
Created February 7, 2018 22:34
are you down with OTT?
set cut_paste_input [stack 0]
version 11.1 v1
push $cut_paste_input
Group {
name ACES_OT
tile_color 0xd4282ff
label "\[? \[numvalue presets]==0 \"\" \[value presets]]"
note_font "Bitstream Vera Sans Bold Bold Bold Bold Bold Bold Bold"
note_font_color 0xffffffff
selected true
@zachlewis
zachlewis / build-gcc.sh
Created July 24, 2018 03:26 — forked from jeetsukumaran/build-gcc.sh
Build and Install GCC Suite from Scratch
#! /bin/bash
GCC_VERSION="5.2.0"
WORKDIR="$HOME/src/"
INSTALLDIR="/platform"
## NOTE: XCode must be installed (through App Store) and the following run to install command-line tools.
## THIS IS IMPORTANT! Among other things, it creates '/usr/include' and installs the system header files.
# xcode-select --install
@zachlewis
zachlewis / package.py
Created May 22, 2020 01:42
OpenEXR Rez package
name = "openexr"
version = "2.5.1.z5"
authors = ["ILM"]
description = (
"The professional-grade image storage format of the motion picture industry."
)
requires = ["numpy-1.16+"]
private_build_requires = ["cmake-3.12+<4", "gcc-4+<9"]
hashed_variants = True
@zachlewis
zachlewis / package.py
Last active August 14, 2020 21:41
yaml_cpp rez package
name = 'yamlcpp'
version = '0.6.3'
description = 'A YAML parser and emitter in C++'
authors = ['Jesse Beder']
private_build_requires = [
'gcc-4+<10',
@zachlewis
zachlewis / package.py
Last active February 15, 2021 18:55
OpenColorIO rez package build script
name = "OpenColorIO"
version = "2.0.0.0"
description = """
A complete color management solution geared towards motion picture
production with an emphasis on visual effects and computer animation.
"""
authors = ["Academy Software Foundation"]
help = "http//opencolorio.org"
# tools = [
# "ociobakelut",
@zachlewis
zachlewis / README.md
Created August 19, 2020 14:42
oneapi_base rez package build script

This is a work in progress.

N.B., the install payload is extremely large (20+Gb)

@zachlewis
zachlewis / package.py
Created August 20, 2020 23:44
MAGMA rez package build thingie
name = 'magma'
version = '2.5.3.z11'
description = \
'''
The goal of the MAGMA project is to create a new generation of linear algebra
libraries that achieves the fastest possible time to an accurate solution on
heterogeneous architectures, starting with current multicore + multi-GPU
systems. To address the complex challenges stemming from these systems'
@zachlewis
zachlewis / package.py
Last active January 25, 2021 17:13
Python rez package build script
name = "python"
version = "3.7.4"
authors = ["Guido van Rossum"]
description = \
"""
The Python programming language.
"""
@zachlewis
zachlewis / build_test_ocio2_config.py
Last active July 17, 2021 23:00
OCIO 2.0 test config
import PyOpenColorIO as ocio
import numpy as np
import colour as colour
from six import string_types
__version__ = "2020.11.08.0"
OUTPUT = "/tmp/test_config.ocio2"