Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Try to build Linux x64
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed Jan 29, 2019
1 parent 3488636 commit 3fb35d9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ version = v"2.5.1"

# Collection of sources required to build SFML
sources = [
"https://www.sfml-dev.org/files/SFML-2.5.1-linux-gcc-64-bit.tar.gz" =>
"34ad106e4592d2ec03245db5e8ad8fbf85c256d6ef9e337e8cf5c4345dc583dd",

"https://github.com/SFML/SFML.git" =>
"2f11710abc5aa478503a7ff3f9e654bd2078ebab",
"192eb968a4e938f36948e97f97ddc354a8a470fe",

"https://github.com/SFML/CSFML.git" =>
"61f17e3c1d109b65ef7e3e3ea1d06961da130afc",
Expand All @@ -19,6 +22,15 @@ sources = [
script = raw"""
# build SFML
cd ${WORKSPACE}/srcdir
if [[ "${target}" == *linux* ]]; then
cd SFML-2.5.1/
mv ./include $WORKSPACE/destdir/
mv ./lib $WORKSPACE/destdir/
else
cd SFML
mkdir build && cd build
Expand All @@ -40,6 +52,8 @@ cmake .. ${CMAKE_FLAGS}
make
make install
fi
# build CSFML
cd ${WORKSPACE}/srcdir
cd CSFML
Expand All @@ -61,11 +75,13 @@ make install
# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = [
Linux(:x86_64; libc=:glibc, compiler_abi=CompilerABI(:gcc7)),
MacOS(:x86_64),
Windows(:x86_64; compiler_abi=CompilerABI(:gcc7)),
Windows(:i686; compiler_abi=CompilerABI(:gcc7)),
]


# The products that we will ensure are always built
products(prefix) = [
LibraryProduct(prefix, ["libcsfml-graphics", "csfml-graphics-2"], :libcsfml_graphics),
Expand Down

0 comments on commit 3fb35d9

Please # to comment.