Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project("test") | |
cmake_minimum_required(VERSION 3.5) | |
# Find python and Boost - both are required dependencies | |
find_package(PythonLibs REQUIRED) | |
find_package(Boost COMPONENTS python REQUIRED) | |
# Without this, any build libraries automatically have names "lib{x}.so" | |
set(CMAKE_SHARED_MODULE_PREFIX "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARCH=$(uname -m) | |
OS=$(uname) | |
if [[ "$OS" == "Linux" ]]; then | |
PLATFORM="linux" | |
if [[ "$ARCH" == "aarch64" ]]; then | |
ARCH="aarch64"; | |
elif [[ $ARCH == "ppc64le" ]]; then | |
ARCH="ppc64le"; | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conda_package_handling import api as cph_api | |
from tempfile import TemporaryDirectory | |
import pathlib | |
import os | |
import subprocess | |
import shutil | |
import json | |
import requests | |
import tarfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output: buildstep None BN: 0 | |
Build: | |
╷ ╷ ╷ ╷ | |
Dependency │ Version requirement │ Selected │ Build │ Channel | |
══════════════╪═════════════════════╪══════════╪═══════╪═════════ | |
Build │ │ │ │ | |
COMPILER_CXX │ cxx │ │ │ | |
│ │ │ │ | |
Host │ │ │ │ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output: dask 0.1.0 BN: 0 | |
Variant: | |
Build: | |
╷ ╷ ╷ ╷ | |
Dependency │ Version requirement │ Selected │ Build │ Channel | |
═════════════════╪═════════════════════╪═══════════╪════════════════════╪═════════════ | |
│ │ │ │ | |
Host │ │ │ │ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman pull centos:${PKG_VERSION} | |
podman run centos:${PKG_VERSION} -n centos | |
podman export centos > out.tar | |
mkdir -p $PREFIX/images/centos/${PKG_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
from pathlib import Path | |
def initialize_globals(): | |
globals()['prefix'] = os.environ.get('PREFIX') | |
globals()['target_platform'] = os.environ.get('TARGET_PLATFORM') | |
globals()['src_dir'] = Path(os.environ.get('SRC_DIR')) | |
globals()['recipe_dir'] = Path(os.environ.get('RECIPE_DIR')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using pip 21.3.1 from %PREFIX%\lib\site-packages\pip (python 3.8) | |
Non-user install because user site-packages disabled | |
Ignoring indexes: https://pypi.org/simple | |
Created temporary directory: C:\Users\robostack\AppData\Local\Temp\2\pip-ephem-wheel-cache-_x4wwnt9 | |
Created temporary directory: C:\Users\robostack\AppData\Local\Temp\2\pip-req-tracker-epbzvhkt | |
Initialized build tracking at C:\Users\robostack\AppData\Local\Temp\2\pip-req-tracker-epbzvhkt | |
Created build tracker: C:\Users\robostack\AppData\Local\Temp\2\pip-req-tracker-epbzvhkt | |
Entered build tracker: C:\Users\robostack\AppData\Local\Temp\2\pip-req-tracker-epbzvhkt | |
Created temporary directory: C:\Users\robostack\AppData\Local\Temp\2\pip-install-0y716qg5 | |
Processing c:\users\robostack\mambaforge\conda-bld\ros_1643445142894\work\ros-galactic-demo-nodes-py\src\work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -exuo pipefail | |
wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba | |
./bin/micromamba shell init -p ~/micromamba | |
source ~/.bashrc | |
micromamba install gh -c conda-forge -y |