Skip to content

Commit

Permalink
Remove binutils
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 25, 2024
1 parent 4c6e581 commit c3cfeb6
Showing 1 changed file with 7 additions and 26 deletions.
33 changes: 7 additions & 26 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set build_num = 3 %}
{% set build_num = 4 %}

{% set gcc_major = 13 if gcc_version is undefined else gcc_version.split(".")[0] %}
# generally, the runtime version of libstdcxx needs to be at least as high
Expand Down Expand Up @@ -64,7 +64,7 @@ outputs:
- gcc_impl_{{ target_platform }} {{ gcc_version }}.*
- gcc_impl_{{ cross_target_platform }} {{ gcc_version }}.*
# for activation of binutils env vars
- {{ pin_subpackage("binutils_" ~ cross_target_platform, exact=True) }}
- binutils_{{ cross_target_platform }}
- {{ c_stdlib }}_{{ target_platform }} # [linux]
- {{ cross_stdlib }}_{{ cross_target_platform }}
- gendef # [cross_target_platform == "win-64"]
Expand Down Expand Up @@ -98,7 +98,7 @@ outputs:
run:
- libgcc-devel_{{ cross_target_platform }} {{ gcc_version }}.*
# for activation of binutils env vars
- {{ pin_subpackage("binutils_" ~ cross_target_platform, exact=True) }}
- binutils_{{ cross_target_platform }}
- {{ cross_stdlib }}_{{ cross_target_platform }}
- compiler-rt_{{ cross_target_platform }}
- compiler-rt =={{ clang_version }}.*
Expand Down Expand Up @@ -140,7 +140,7 @@ outputs:
# for activation of gcc env vars
- {{ pin_subpackage("gcc_" ~ cross_target_platform, exact=True) }}
# for activation of binutils env vars
- {{ pin_subpackage("binutils_" ~ cross_target_platform, exact=True) }}
- binutils_{{ cross_target_platform }}
- {{ cross_stdlib }}_{{ cross_target_platform }}
test:
requires:
Expand Down Expand Up @@ -178,7 +178,7 @@ outputs:
# for activation of gcc env vars
- {{ pin_subpackage("clang_" ~ cross_target_platform, exact=True) }}
# for activation of binutils env vars
- {{ pin_subpackage("binutils_" ~ cross_target_platform, exact=True) }}
- binutils_{{ cross_target_platform }}
- {{ cross_stdlib }}_{{ cross_target_platform }}
- compiler-rt_{{ cross_target_platform }}
- compiler-rt =={{ clang_version }}.*
Expand Down Expand Up @@ -219,7 +219,7 @@ outputs:
# for activation of gcc env vars:
- {{ pin_subpackage("gcc_" ~ cross_target_platform, exact=True) }}
# for activation of binutils env vars:
- {{ pin_subpackage("binutils_" ~ cross_target_platform, exact=True) }}
- binutils_{{ cross_target_platform }}
- {{ cross_stdlib }}_{{ cross_target_platform }}
test:
requires:
Expand All @@ -238,25 +238,6 @@ outputs:
license: BSD-3-Clause
license_file: LICENSE

- name: binutils_{{ cross_target_platform }}
version: "{{ binutils_version }}"
script: install-binutils.sh
requirements:
run:
- binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.*
- {{ c_stdlib }}_{{ target_platform }} # [linux]
- {{ cross_stdlib }}_{{ cross_target_platform }}
test:
requires:
- {{ cross_stdlib }}_{{ cross_target_platform }} {{ cross_stdlib_version }}
commands:
- test -f $LD
about:
summary: The GNU Binutils are a collection of binary tools (activation scripts)
home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
license: BSD-3-Clause
license_file: LICENSE

- name: gcc_bootstrap_{{ cross_target_platform }}
version: "{{ gcc_version }}"
build:
Expand Down Expand Up @@ -296,7 +277,7 @@ outputs:
license_file: GPL_LICENSE

about:
summary: Activation scripts for gcc, g++, gfortran and binutils
summary: Activation scripts for gcc, g++, gfortran and clang
home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
license: BSD-3-Clause
license_file: LICENSE
Expand Down

0 comments on commit c3cfeb6

Please sign in to comment.