Skip to content

Commit

Permalink
Deprecate Debian Jessie
Browse files Browse the repository at this point in the history
Closes #3062
  • Loading branch information
SeanTAllen committed Mar 9, 2019
1 parent 0966a86 commit 0d526e4
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 85 deletions.
25 changes: 0 additions & 25 deletions .ci-dockerfiles/deb-builder/Dockerfile.jessie

This file was deleted.

5 changes: 0 additions & 5 deletions .ci-dockerfiles/deb-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ docker build --build-arg FROM_DISTRO=debian --build-arg FROM_VERSION=stretch -t
docker build --build-arg FROM_DISTRO=debian --build-arg FROM_VERSION=buster -t ponylang/ponyc-ci:buster-deb-builder .
```

```bash
# Debian Jessie
docker build --build-arg FROM_DISTRO=debian --build-arg FROM_VERSION=jessie -t ponylang/ponyc-ci:jessie-deb-builder --file Dockerfile.jessie .
```

# Push to dockerhub

You'll need credentials for the ponylang dockerhub account. Talk to @jemc or @seantallen for access
Expand Down
10 changes: 3 additions & 7 deletions .packaging/deb/rules
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ DEB_DISTRIBUTION = $(call dpkg_late_eval,DEB_DISTRIBUTION,dpkg-parsechangelog -S
MAKE_OPTIONS := prefix=/usr LLVM_CONFIG=llvm-config-3.9

ifeq ($(DEB_HOST_ARCH),amd64)
ifeq ($(DEB_DISTRIBUTION),jessie)
MAKE_OPTIONS += arch=x86-64 tune=generic use="llvm_link_static"
else
MAKE_OPTIONS += arch=x86-64 tune=intel
endif
endif

ifeq ($(DEB_HOST_ARCH),s390x)
MAKE_OPTIONS += arch=z900 tune=z900
Expand All @@ -34,9 +30,9 @@ ifeq ($(DEB_HOST_ARCH),armhf)
MAKE_OPTIONS += arch=armv7 tune=arm7
endif

# jessie, xenial and artful are on openssl 1.0
# xenial and artful are on openssl 1.0
# artful and newer require PIC
ifeq (,$(filter $(DEB_DISTRIBUTION),jessie xenial artful))
ifeq (,$(filter $(DEB_DISTRIBUTION),xenial artful))
MAKE_OPTIONS += default_ssl='openssl_1.1.0' default_pic=true
else
ifeq ($(DEB_DISTRIBUTION),artful)
Expand All @@ -61,7 +57,7 @@ override_dh_auto_test:
$(MAKE) test-ci $(MAKE_OPTIONS)

# if newer debian/ubuntu disable unform compression in deb for bintray
ifeq (,$(filter $(DEB_DISTRIBUTION),jessie stretch xenial artful))
ifeq (,$(filter $(DEB_DISTRIBUTION),stretch xenial artful))
override_dh_builddeb:
dh_builddeb -- --no-uniform-compression
endif
Expand Down
9 changes: 0 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,6 @@ deploy:
condition: $RELEASE_CONFIG == yes && $RELEASE_DEBS == ubuntu
key:
secure: GGDPvrwx0nY09smgUP0ocbBCIdvl1r96bzM7NYxxS9l9d6xGegaSFzUF6B19mdIRT4A+mR9fxpc2eQpxC6iduWVOWGwXGqtYtWzKz/C1I3s/UICPWDl2f4wsO8KGqcO2+M87aw3bwUKC4GgzKa956HKm8BVeCWhbwyFSf0c4UyST8Lkv2vAFWeRDmu/fzUwwFFpiHwlE7W1rlJhQV2xiY8pwVntgxAmTL5ssSOYdk+t65H1fIfjF3k+dU0KkARa8y2JaVhtYHlisHjCki2V3hhKenGcoK22WnNckaCM9sn/ppCm6KRhqcbtGrbEYu8XAA/xXnw3xtgZWVHhcLdTXDl13rxCGchdF1f2rtEZCfI9BSJeQlLBRrf8lF9rEdLgfUqOKSq47KKrENa5PclhGiby9iICBuzRMJxbKUvXo8dcCvFP+/Q8ekIMyAItIK/AJBX9Gx4Yv25g8n5XZDzgfNlOEou27emo7zv1/nCEZkwKQyfHAEbnpz56y0JaR+eMotBdLIHsDNZSAh+/tWNiUYBaKfZydawrnHlWxiX8diMEOqZWHhlIHRljCmt2NUxAevht2mzzoZ+NBZxfyaDcw0dt8A1cGpigZh995Pj+LaFidPK7lvIwJGJ1956Iaj+wnZxJCkCOHuTLtO5KYDTIlgbmd7vVQfX5wm9uKsrsifF8=
- provider: bintray
user: pony-buildbot-2
file: /home/travis/build/ponylang/ponyc/bintray_debian_jessie.json
skip_cleanup: true
on:
branch: release
condition: $RELEASE_CONFIG == yes && $RELEASE_DEBS == debian
key:
secure: GGDPvrwx0nY09smgUP0ocbBCIdvl1r96bzM7NYxxS9l9d6xGegaSFzUF6B19mdIRT4A+mR9fxpc2eQpxC6iduWVOWGwXGqtYtWzKz/C1I3s/UICPWDl2f4wsO8KGqcO2+M87aw3bwUKC4GgzKa956HKm8BVeCWhbwyFSf0c4UyST8Lkv2vAFWeRDmu/fzUwwFFpiHwlE7W1rlJhQV2xiY8pwVntgxAmTL5ssSOYdk+t65H1fIfjF3k+dU0KkARa8y2JaVhtYHlisHjCki2V3hhKenGcoK22WnNckaCM9sn/ppCm6KRhqcbtGrbEYu8XAA/xXnw3xtgZWVHhcLdTXDl13rxCGchdF1f2rtEZCfI9BSJeQlLBRrf8lF9rEdLgfUqOKSq47KKrENa5PclhGiby9iICBuzRMJxbKUvXo8dcCvFP+/Q8ekIMyAItIK/AJBX9Gx4Yv25g8n5XZDzgfNlOEou27emo7zv1/nCEZkwKQyfHAEbnpz56y0JaR+eMotBdLIHsDNZSAh+/tWNiUYBaKfZydawrnHlWxiX8diMEOqZWHhlIHRljCmt2NUxAevht2mzzoZ+NBZxfyaDcw0dt8A1cGpigZh995Pj+LaFidPK7lvIwJGJ1956Iaj+wnZxJCkCOHuTLtO5KYDTIlgbmd7vVQfX5wm9uKsrsifF8=
- provider: bintray
user: pony-buildbot-2
file: /home/travis/build/ponylang/ponyc/bintray_debian_stretch.json
Expand Down
1 change: 0 additions & 1 deletion .travis_commands.bash
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ ponyc-build-debs-debian(){
# * Create and upload a new version of the appropriate docker image using .ci-dockerfiles/deb-builder
build_deb buster
build_deb stretch
build_deb jessie

ls -la
set +x
Expand Down
38 changes: 0 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,44 +392,6 @@ make default_pic=true default_ssl=openssl_1.1.0
./helloworld
```

### Debian Jessie

Add the following to `/etc/apt/sources`:

```
deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.9 main
deb-src http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.9 main
```

Install the LLVM toolchain public GPG key, update `apt` and install packages:

```bash
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update
sudo apt-get install make gcc g++ git zlib1g-dev libncurses5-dev \
libssl-dev llvm-3.9-dev
```

Debian Jessie and some other Linux distributions don't include pcre2 in their package manager. pcre2 is used by the Pony regex package. To download and build pcre2 from source:

```bash
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21.tar.bz2
tar xvf pcre2-10.21.tar.bz2
cd pcre2-10.21
./configure --prefix=/usr
make
sudo make install
```

To build ponyc, compile and run helloworld:

```bash
cd ~/ponyc/
make
./build/release/ponyc examples/helloworld
./helloworld
```

### Debian Sid

Install pony dependencies:
Expand Down

0 comments on commit 0d526e4

Please sign in to comment.