NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.63k stars 13.1k forks source link

REQUEST: Add the Taichi Python package #143181

Open crazazy opened 2 years ago

crazazy commented 2 years ago

Project description Taichi is a python programming eDSL that allows people to write programs that run on the GPU in python.

Metadata

AndersonTorres commented 2 years ago

How can it be tested?

crazazy commented 2 years ago

Oh hey! sorry for the late response It seems like they have a shell script in .github/workflows that sort of automates the tests. Don't know for sure if it goes through the tests folder though Edit: It seems like it builds the tests into itself and then allows you to test it with the "ti test" subcommand

SaltyKitkat commented 1 year ago

I've spent some time on this, and found that taichi should be compiled by clang instead of gcc. Is there any way for a python package built by buildPythonPackage to modify stdenv so that it can be built with clang ?

AndersonTorres commented 1 year ago

Well, you can write a stdenv.mkDerivation directly instead of relying on buildPythonPackage