| 6 Mar 2023 |
SomeoneSerge (back on matrix) | Doesn't it come with stdenv? | 22:14:35 |
hexa | good question | 22:17:16 |
SomeoneSerge (back on matrix) | export CMAKE_LIBRARY_PATH="/opt/intel/lib:/lib:$CMAKE_LIBRARY_PATH" | 22:17:25 |
SomeoneSerge (back on matrix) | I wonder if that Darwin machine was x86 or arm | 22:17:47 |
SomeoneSerge (back on matrix) | They also reference llvm in some places | 22:19:17 |
hexa | we have llvm stdenv as well | 22:19:50 |
SomeoneSerge (back on matrix) | Many conditionals in their scripts | 22:20:29 |
hexa | and the torch derivative has a stdenv.cc.isGNU condition | 22:20:38 |
hexa | * and the torch derivation has a stdenv.cc.isGNU condition | 22:20:58 |
SomeoneSerge (back on matrix) | I guess that's the entry point https://github.com/pytorch/builder/blob/main/.github/workflows/build-manywheel-images.yml | 22:21:28 |
SomeoneSerge (back on matrix) | Or not. Maybe this where they build the build environments... | 22:26:12 |
SomeoneSerge (back on matrix) | * Or not. Maybe this is where they build the build environments... | 22:26:17 |
hexa |
runs-on: eol-ubuntu
| 22:28:07 |
hexa | nice | 22:28:07 |
hexa | oh sure, a dedicated repo for build stuff | 22:29:22 |
hexa | cmon | 22:29:25 |
SomeoneSerge (back on matrix) |  Download image.png | 22:29:39 |
SomeoneSerge (back on matrix) | Help Dasha find the build flags | 22:29:45 |
SomeoneSerge (back on matrix) | * Help Dora the explorer find the build flags | 22:30:10 |
SomeoneSerge (back on matrix) | * Help Dasha Dora the explorer find the build flags | 22:30:53 |
SomeoneSerge (back on matrix) | I mean | 22:32:34 |
SomeoneSerge (back on matrix) | I'm not mistaken, this simply builds a docker image with dependencies? https://github.com/pytorch/builder/actions/runs/4339918401/jobs/7577969508 | 22:32:45 |
SomeoneSerge (back on matrix) | Oh! I like the name! Wait, last run was two years ago https://github.com/pytorch/builder/actions/workflows/build-pytorch-wheels.yml | 22:33:36 |
hexa | yep, they prepare the build env through that | 22:33:58 |
hexa | get centos, llvm 9.0.1, enable some centos repo, yum update, | 22:35:12 |
hexa |
yum install -y wget curl perl util-linux xz bzip2 git patch which zlib-devel
| 22:35:13 |
hexa | then | 22:35:25 |
hexa |
yum install -y autoconf automake make cmake gdb gcc gcc-c++
| 22:35:26 |
hexa |
yum install -y openssl-devel zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libpcap-devel xz-devel libffi-devel
| 22:35:34 |
SomeoneSerge (back on matrix) | And that is how we get AI | 22:35:48 |