-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
128 additions
and
30 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
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
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,6 +1,6 @@ | ||
#ifndef _BODGE_CHIPMUNK_H_ | ||
#define _BODGE_CHIPMUNK_H_ | ||
#ifndef _BODGE_GLFW_H_ | ||
#define _BODGE_GLFW_H_ | ||
|
||
#include <GLFW/glfw3.h> | ||
|
||
#endif /* _BODGE_CHIPMUNK_H_ */ | ||
#endif /* _BODGE_GLFW_H_ */ |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(bind-arguments *target-arch* *system-name*) | ||
(script "install-testing-dist") | ||
|
||
(ql:register-local-projects) | ||
(ql:quickload :claw) | ||
|
||
(let ((claw::*local-cpu* *target-arch*) | ||
(claw::*trace-c2ffi* t)) | ||
(ql:quickload *system-name*)) |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env bash | ||
|
||
name=glfw | ||
repository_url=https://github.com/borodust/bodge-glfw | ||
|
||
|
||
if [[ -z $1 ]] ; then | ||
echo "Version is not provided!" | ||
exit 1; | ||
fi | ||
|
||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
declare -A platforms | ||
platforms=(["linux"]="so" ["osx"]="dylib" ["windows"]="dll") | ||
|
||
declare -A archs | ||
archs=(["x86_64"]="x86_64" ["i686"]="x86") | ||
|
||
for arch in "${!archs[@]}" ; do | ||
for platform in "${!platforms[@]}" ; do | ||
lib="lib$name.${platforms[$platform]}.bodged" | ||
url="$repository_url/releases/download/$1/$lib-$arch-$platform-$1" | ||
|
||
spec_dir="$script_dir/" | ||
spec_url="$url-spec.zip" | ||
spec_archive=$(mktemp /tmp/$lib-spec.XXXXXXXX) | ||
mkdir -p "$spec_dir" | ||
|
||
echo "Downloading $lib spec from $spec_url to $spec_archive" | ||
if ! wget -O "$spec_archive" -q "$spec_url" ; then | ||
echo "$lib spec download failed" | ||
exit 1; | ||
fi | ||
( cd $spec_dir && unzip -o $spec_archive ) | ||
done | ||
done |