Skip to content

Instantly share code, notes, and snippets.

View swisspol's full-sized avatar

Pierre-Olivier Latour swisspol

View GitHub Profile
#include "clar_libgit2.h"
#include "fileops.h"
#include "stash_helpers.h"
static git_signature *signature;
static git_repository *repo;
static git_index *repo_index;
void test_stash_apply__initialize(void)
{
@swisspol
swisspol / gist:c87046f97169c7af0607
Created February 6, 2015 07:59
Xcode Bot Environment Variables
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.yi2ylKg124/Render
HOME=/var/_xcsbuildd
LOGNAME=_xcsbuildd
PATH=/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/Library/Developer/XcodeServer/Integrations/Caches/c9e0e876ef9dbb996df76e73d3ac8ad1/Source
SHELL=/bin/false
SHLVL=1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.CChp5yaB4Q/Listeners
TMPDIR=/var/folders/df/_sxbhzn54s34nb_bvkc68xfc000086/T/
USER=_xcsbuildd
$ ./build.sh
++ xcode-select --print-path
+ DEVELOPER=/Applications/Xcode.app/Contents/Developer
+ PLATFORM=iPhoneOS
+ ARCH=armv7
+ IPHONE_SDK=7.0
+ IPHONE_MIN_VERSION=5.0
+ VERSION=1.3.0
+ NASM_VERSION=2.10.09
+ AUTOCONF_VERSION=2.69
@swisspol
swisspol / build.sh
Last active March 21, 2018 08:50
Tentative build script to build libjpeg-turbo for iOS devices
#!/bin/sh -ex
DEVELOPER=`xcode-select --print-path`
PLATFORM="iPhoneOS"
ARCH="armv7"
IPHONE_SDK="7.0"
IPHONE_MIN_VERSION="5.0"
VERSION="1.3.0"
NASM_VERSION="2.10.09"