Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
libgcc: Depend on the new metapackages
Browse files Browse the repository at this point in the history
  • Loading branch information
mingwandroid committed Aug 1, 2017
1 parent 3b3d5bf commit 2412436
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 34 deletions.
7 changes: 7 additions & 0 deletions libgcc/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

if [[ $(uname) == Linux ]]; then
ln -s ${PREFIX}/lib/libgfortran.so.4.0.0 ${PREFIX}/lib/libgfortran.so.3
ln -s ${PREFIX}/lib/libgfortran.so.4.0.0 ${PREFIX}/lib/libgfortran.so.3.0
ln -s ${PREFIX}/lib/libstdc++.so.6.0.23 ${PREFIX}/lib/libstdc++.so.6.0.21
fi
69 changes: 35 additions & 34 deletions libgcc/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
# On macOS this package takes parts from gcc
# On Linux it is just a metapackage to the
# new cross-compiler runtime libs with some
# symlinks so the old filenames find the new
# libraries

package:
name: libgcc
version: 4.8.5

version: 7.1.0 [linux]
version: 4.8.5 [osx]

requirements:
build:
- gcc 4.8.5
- gcc 4.8.5 [osx]
- libgcc_linux-64 [linux]
- libgfortran_linux-64 [linux]
- libstdcxx_linux-64 [linux]
run:
- libgcc_linux-64 [linux]
- libgfortran_linux-64 [linux]
- libstdcxx_linux-64 [linux]

build:
number: 1
number: 1 [osx]
number: 0 [linux]
always_include_files:
- lib/libgcc_s.1.dylib # [osx]
- lib/libgcc_s_ppc64.1.dylib # [osx]
- lib/libgcc_s_x86_64.1.dylib # [osx]
- lib/libgcc_s.so.1 # [linux]
- lib/libgcc_s.so # [linux]

- lib/libgomp.1.dylib # [osx]
- lib/libgomp.dylib # [osx]
- lib/libgomp.so # [linux]
- lib/libgomp.so.1 # [linux]
- lib/libgomp.so.1.0.0 # [linux]

- lib/libgfortran.3.dylib # [osx]
- lib/libgfortran.dylib # [osx]
- lib/libgfortran.so # [linux]
- lib/libgfortran.so.3 # [linux]
- lib/libgfortran.so.3.0.0 # [linux]

- lib/libquadmath.0.dylib # [osx]
- lib/libquadmath.dylib # [osx]
- lib/libquadmath.so # [linux]
- lib/libquadmath.so.0 # [linux]
- lib/libquadmath.so.0.0.0 # [linux]

- lib/libstdc++.6.dylib # [osx]
- lib/libstdc++.dylib # [osx]
- lib/libstdc++.so # [linux]
- lib/libstdc++.so.6 # [linux]
- lib/libstdc++.so.6.0.19 # [linux]
- lib/libgcc_s.1.dylib [osx]
- lib/libgcc_s_ppc64.1.dylib [osx]
- lib/libgcc_s_x86_64.1.dylib [osx]

- lib/libgomp.1.dylib [osx]
- lib/libgomp.dylib [osx]

- lib/libgfortran.3.dylib [osx]
- lib/libgfortran.dylib [osx]

- lib/libquadmath.0.dylib [osx]
- lib/libquadmath.dylib [osx]

- lib/libstdc++.6.dylib [osx]
- lib/libstdc++.dylib [osx

about:
home: http://gcc.gnu.org/
summary: Shared libraries for the GNU Compiler Collection
license: GPL
license: GNU GPL 3+ with GCC Runtime Library
license_family: GPL

0 comments on commit 2412436

Please sign in to comment.