Browse Source

package/ci: fuck all your containers and environments, FUCK THEM

Why everything has to be so damn containerized and duplicated that it's
not fucking possible to just do

   brew install numpy

in order for it to be BOTH available for any subsequent brew packages,
AND `import numpy` working from python?! What the fuck?? What was so
broken about the previous *perfectly working* behavior that you had to
"fix" it?!
next
Vladimír Vondruš 2 years ago
parent
commit
a49d4e1748
  1. 12
      package/ci/circleci.yml

12
package/ci/circleci.yml

@ -51,6 +51,18 @@ commands:
command: | command: |
if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov"; fi if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov"; fi
HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake ninja $LCOV_PACKAGES << parameters.extra >> HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake ninja $LCOV_PACKAGES << parameters.extra >>
- run:
name: Uninstall the pyenv crap and install plain python instead
# Otherwise the numpy installed by homebrew is unreachable by actual
# user-side python. THIS ALL USED TO WORK BUT NOT ANYMORE. They
# subsequently added `brew pyenv-sync` in an attempt to fix this trash
# fire, but that damn thing doesn't work at all either. Fuck it, then.
# https://github.com/orgs/Homebrew/discussions/4664
# https://github.com/Homebrew/brew/issues/17563
command: |
HOMEBREW_NO_AUTO_UPDATE=1 brew remove pyenv
HOMEBREW_NO_AUTO_UPDATE=1 brew install python
rm -r ~/.pyenv
install-gcc-4_8: install-gcc-4_8:
steps: steps:

Loading…
Cancel
Save