Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 0110fbc

Browse files
author
juan-pablo-vielma
committed
Add autogenerated files to build SDPABuilder
1 parent 0dbeb61 commit 0110fbc

File tree

5 files changed

+113
-0
lines changed

5 files changed

+113
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
products/
2+
downloads/
3+
build/

.travis.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
language: julia
2+
os:
3+
- linux
4+
julia:
5+
- 0.6
6+
notifications:
7+
email: false
8+
git:
9+
depth: 99999999
10+
cache:
11+
timeout: 1000
12+
directories:
13+
- downloads
14+
env:
15+
global:
16+
- BINARYBUILDER_DOWNLOADS_CACHE=downloads
17+
- BINARYBUILDER_AUTOMATIC_APPLE=false
18+
sudo: required
19+
20+
# Before anything else, get the latest versions of things
21+
before_script:
22+
- julia -e 'Pkg.clone("https://github.com/JuliaPackaging/BinaryProvider.jl")'
23+
- julia -e 'Pkg.clone("https://github.com/JuliaPackaging/BinaryBuilder.jl"); Pkg.build()'
24+
25+
script:
26+
- julia build_tarballs.jl
27+
28+
29+
deploy:
30+
provider: releases
31+
api_key:
32+
# Note; this api_key is only valid for juan-pablo-vielma/SDPABuilder; you need
33+
# to make your own: https://docs.travis-ci.com/user/deployment/releases/
34+
secure: o/4ZosUbxP5CWuNgI6AP5KZNGPQyUw4LDP1efRAouXVfGMjsUsUtDqFFK6B9cW+F0XgQId0CinZrPHFKg1HSQ/3EoFYMAGtU+DvDKLACI4+u0rFGrA/D1XtbP6tDJGQAxdWgUk542RFYYf7ixAieVlR+Lh6shMLSF/qS/Mro+7ppWyHuX+UwGiNQwukJ1p/NrDJLEbdaI5/QJtuIcDxi7/UP6GkVnDhpE+FQqbqn1P3G3wclCZKXeBM31NRStEvy9bJDFen+OmPOon585SoTARH0TJ7CG9uuMb29QGVrYFycWL1095JRs5rlxvp/LuHm4jqI8QzvCr2ZPQud81l+M1MGbS+E0AxwSsoje0OGAqucktZYesjCMduAJZVPCEUU2lFb0mNz0RN8+oFz11G0mGGdjiTD/rWb7BVPGLH7ztH8AwoT6qFbSp7Sfr2XLoC+kzkFMHgJfVoA9RAYasCwuIA94ft/tivCYHwPTfpY7VQmJf04j3vVbuUJA2i0catzDfgCL4VlCELCZPJIiyfuNxl+HUy4392+RfZaabAUDWPdetJq3YHf3JUA+/ZshO8GCReChUmZ6Ig3X5eKHpHv3f5SZt6amE1gdc/darame4lwdZF18ApvT+9sih0MAFKznebq+QDlI1gopR862BVXdPHNhQ3mI4PIiysF5NkBn0A=
35+
file_glob: true
36+
file: products/*
37+
skip_cleanup: true
38+
on:
39+
repo: juan-pablo-vielma/SDPABuilder
40+
tags: true

LICENSE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
Permission is hereby granted, free of charge, to any person obtaining a copy
3+
of this software and associated documentation files (the "Software"), to deal
4+
in the Software without restriction, including without limitation the rights
5+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6+
copies of the Software, and to permit persons to whom the Software is
7+
furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all
10+
copies or substantial portions of the Software.
11+
12+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
SOFTWARE.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SDPABuilder
2+
3+
[![Build Status](https://travis-ci.org/juan-pablo-vielma/SDPABuilder.svg?branch=master)](https://travis-ci.org/juan-pablo-vielma/SDPABuilder)
4+
5+
This repository builds binary artifacts for the SDPABuilder project. Binary artifacts are automatically uploaded to
6+
[this repository's GitHub releases page](https://github.com/juan-pablo-vielma/SDPABuilder/releases) whenever a tag is created
7+
on this repository.
8+
9+
This repository was created using [BinaryBuilder.jl](https://github.com/JuliaPackaging/BinaryBuilder.jl)

build_tarballs.jl

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Note that this script can accept some limited command-line arguments, run
2+
# `julia build_tarballs.jl --help` to see a usage message.
3+
using BinaryBuilder
4+
5+
name = "SDPABuilder"
6+
version = v"7.3.8"
7+
8+
# Collection of sources required to build SDPABuilder
9+
sources = [
10+
"https://sourceforge.net/projects/sdpa/files/sdpa/sdpa_7.3.8.tar.gz" =>
11+
"c7541333da2f0bb2d18e90dbf758ac7cc099f3f7da3f256b284b0725f96d4117",
12+
13+
]
14+
15+
# Bash recipe for building across all platforms
16+
script = raw"""
17+
cd $WORKSPACE/srcdir
18+
cd sdpa-7.3.8/
19+
./configure --prefix=$prefix --host=$target --with-blas="${prefix}/lib/libopenblas.so" --with-lapack="${prefix}/lib/libopenblas.so"
20+
make
21+
make install
22+
23+
"""
24+
25+
# These are the platforms we will build for by default, unless further
26+
# platforms are passed in on the command line
27+
platforms = [
28+
Linux(:i686, :glibc)
29+
]
30+
31+
# The products that we will ensure are always built
32+
products(prefix) = [
33+
ExecutableProduct(prefix, "", :sdpa)
34+
]
35+
36+
# Dependencies that must be installed before this package can be built
37+
dependencies = [
38+
"https://github.com/JuliaLinearAlgebra/OpenBLASBuilder/releases/download/v0.3.0-1/build_OpenBLAS.v0.3.0.jl"
39+
]
40+
41+
# Build the tarballs, and possibly a `build.jl` as well.
42+
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies)
43+

0 commit comments

Comments
 (0)