Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flint: Add darwin support #45004

Merged
merged 1 commit into from Aug 14, 2018
Merged

flint: Add darwin support #45004

merged 1 commit into from Aug 14, 2018

Conversation

jbaum98
Copy link
Contributor

@jbaum98 jbaum98 commented Aug 14, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@xeji
Copy link
Contributor

xeji commented Aug 14, 2018

@GrahamcOfBorg build flint

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: flint

Partial log (click to expand)

cp flintxx/*.h "/nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2/include/flint/flintxx"
cp *xx.h "/nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2/include/flint"
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2
shrinking /nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2/lib/libflint.so.13.5.2
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2/lib
patching script interpreter paths in /nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2
checking for references to /build in /nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2...
/nix/store/5ixa3w41bak4w40xzc78jjcgvsi33z6f-flint-2.5.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: flint

Partial log (click to expand)

mkdir -p "/nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2/include/flint"
cp  ulong_extras.h  long_extras.h  perm.h  fmpz.h  fmpz_vec.h  fmpz_poly.h  fmpq_poly.h  fmpz_mat.h  fmpz_lll.h  mpfr_vec.h  mpfr_mat.h  mpf_vec.h  mpf_mat.h  nmod_vec.h  nmod_poly.h  nmod_poly_factor.h  arith.h  mpn_extras.h  nmod_mat.h  fmpq.h  fmpq_vec.h  fmpq_mat.h  padic.h  fmpz_poly_q.h  fmpz_poly_mat.h  nmod_poly_mat.h  fmpz_mod_poly.h  fmpz_mod_poly_factor.h  fmpz_factor.h  fmpz_poly_factor.h  fft.h  qsieve.h  double_extras.h  d_vec.h  d_mat.h  padic_poly.h  padic_mat.h  qadic.h  fq.h  fq_vec.h  fq_mat.h  fq_poly.h  fq_poly_factor.h  fq_nmod.h  fq_nmod_vec.h  fq_nmod_mat.h  fq_nmod_poly.h  fq_nmod_poly_factor.h  fq_zech.h  fq_zech_vec.h  fq_zech_mat.h  fq_zech_poly.h  fq_zech_poly_factor.h NTL-interface.h flint.h longlong.h config.h gmpcompat.h fft_tuning.h fmpz-conversions.h profiler.h templates.h  fq_vec_templates.h  fq_mat_templates.h  fq_poly_templates.h  fq_poly_factor_templates.h  fq_templates.h "/nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2/include/flint"
mkdir -p "/nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2/include/flint/flintxx"
cp flintxx/*.h "/nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2/include/flint/flintxx"
cp *xx.h "/nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2/include/flint"
post-installation fixup
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2/lib
patching script interpreter paths in /nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2
/nix/store/33an4jjnd7xissz80niy1miziir8ff4w-flint-2.5.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: flint

Partial log (click to expand)

cp flintxx/*.h "/nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2/include/flint/flintxx"
cp *xx.h "/nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2/include/flint"
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2
shrinking /nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2/lib/libflint.so.13.5.2
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2/lib
patching script interpreter paths in /nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2
checking for references to /build in /nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2...
/nix/store/v7x70y4vgika90ln45la8r239dd0z1dq-flint-2.5.2

@Mic92 Mic92 merged commit 96c34ed into NixOS:master Aug 14, 2018
@jbaum98 jbaum98 deleted the flint-darwin branch August 14, 2018 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants