mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(haskell)
let's get it using clang/ld.lld if possible, as well as enforcing `-fPIC` and `-pie`.
This commit is contained in:
parent
e89da6236b
commit
e2aae0b694
1 changed files with 7 additions and 1 deletions
|
@ -42,7 +42,7 @@ dependencies:
|
||||||
sourceware.org/libffi: 3
|
sourceware.org/libffi: 3
|
||||||
linux:
|
linux:
|
||||||
github.com/numactl/numactl: ^2
|
github.com/numactl/numactl: ^2
|
||||||
gnu.org/gcc: '*'
|
llvm.org: '*'
|
||||||
|
|
||||||
warnings:
|
warnings:
|
||||||
- vendored
|
- vendored
|
||||||
|
@ -68,12 +68,18 @@ build:
|
||||||
- run: find . -type f -name \*.conf -print0 | xargs -0 sed -i -e 's|{{prefix}}|${pkgroot}/../../../../..|g' -e 's/\+brewing//g'
|
- run: find . -type f -name \*.conf -print0 | xargs -0 sed -i -e 's|{{prefix}}|${pkgroot}/../../../../..|g' -e 's/\+brewing//g'
|
||||||
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/package.conf.d
|
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/package.conf.d
|
||||||
if: <9.4
|
if: <9.4
|
||||||
|
|
||||||
|
- run: cat settings
|
||||||
|
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/lib
|
||||||
env:
|
env:
|
||||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
||||||
BOOTSTRAP_HASKELL_NO_UPGRADE: 1
|
BOOTSTRAP_HASKELL_NO_UPGRADE: 1
|
||||||
BOOTSTRAP_HASKELL_MINIMAL: 1
|
BOOTSTRAP_HASKELL_MINIMAL: 1
|
||||||
GHCUP_INSTALL_BASE_PREFIX: ${{prefix}}
|
GHCUP_INSTALL_BASE_PREFIX: ${{prefix}}
|
||||||
GHCUP_SKIP_UPDATE_CHECK: 1
|
GHCUP_SKIP_UPDATE_CHECK: 1
|
||||||
|
linux:
|
||||||
|
CC: clang
|
||||||
|
LD: ld.lld
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue