File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 AF_VERSION : " 3.10.0"
1515 AF_INSTALLER : " ArrayFire-v3.10.0_Linux_x86_64.sh"
1616 AF_URL : " https://arrayfire.s3.amazonaws.com/3.10.0/ArrayFire-v3.10.0_Linux_x86_64.sh"
17- AF_PREFIX : " /usr/local "
17+ AF_PREFIX : " /opt/arrayfire "
1818
1919 steps :
2020 - uses : actions/checkout@v4
2323 nix_path : nixpkgs=channel:nixpkgs-unstable
2424 - run : nix-channel --update
2525
26- - uses : actions/checkout@v4
27-
2826 - name : Nix channel update
2927 run : nix-channel --update
3028
4341 run : cabal update
4442
4543 - name : Build
46- run : nix-shell -p ghc -p cabal-install --run 'cabal build'
44+ run : nix-shell -p ghc -p cabal-install --keep LD_LIBRARY_PATH -- run 'cabal build'
4745 env :
48- PATH : " /usr/local/bin:${{ env.PATH }}"
49- LD_LIBRARY_PATH : " /usr/local/lib"
46+ LD_LIBRARY_PATH : " /opt/arrayfire/lib:/opt/arrayfire/lib64"
You can’t perform that action at this time.
0 commit comments