Commit graph

83 commits

Author SHA1 Message Date
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin 6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Domen Kožar e1aff0ecbc aws-sdk-cpp: disable flaky test 2023-01-18 15:19:52 +00:00
Madoura b3851cdeb0
aws-sdk-cpp: fix build on RISC-V hosts 2022-11-25 10:41:20 -06:00
Sergei Trofimovich 627b4dc438 aws-sdk-cpp: disable blanket -Werror
`-Werror` flag usually causes build failures due to minor changes in
compiler versions. They might be useful for developers themselves but
are rarely useful for distributions.

For example right now `aws-sdk-cpp` fails to compile on `gcc-13` due to
a `gcc` infelicity: https://gcc.gnu.org/PR107488

While this concrete instance is a compiler bug generally `-Werror` makes
users' lives harder. Specific `-Werror=<foo>` are better way to prevent
certain classes of bugs.

The change removes blanket `-Werror` with a `substituteInPlace` call.
2022-11-02 07:54:29 +00:00
Sandro Jäckel f5f1d11b9e
aws-sdk-cpp: ignore openssl 3 deprecation warnings 2022-08-31 18:04:18 +02:00
Vladimír Čunát b77a8d11f2
aws-sdk-cpp: full versions builds fine on x86_64-linux
Though the RAM/core requirements are quite high during linking.
2022-08-31 09:30:47 +02:00
Sandro Jäckel a6be71e6fc
aws-sdk-cpp: unpin i686 instead remove failing test and mark broken when building ec2, little cleanup 2022-08-30 17:31:47 +02:00
Jiajie Chen 2e84bb9740 aws-sdk-cpp: 1.9.238 -> 1.9.294 2022-08-01 22:09:23 +08:00
Josef Kemetmüller 1ca04aa9f1 treewide: Stop setting CMAKE_SKIP_BUILD_RPATH=OFF
This is now the new default and thus doesn't need to be set manually
anymore.
2022-07-04 03:49:01 +03:00
Vladimír Čunát f542643ed3
aws-sdk-cpp: revert to older version on i686-linux
After update in PR #169281 (commit f394cc6c5) it won't build:
https://hydra.nixos.org/build/174323623

It's still unreliable, as even the i686 builds that succeeded on Hydra
won't build for me locally, shooting over the 32-bit memory limit.
But I trust this will unblock the nixos-unstable channel on Hydra.
2022-04-23 09:39:01 +02:00
Fabián Heredia Montiel f394cc6c54 aws-sdk-cpp: 1.9.150 → 1.9.238 2022-04-19 18:53:51 -05:00
github-actions[bot] cf7efe1192
Merge staging-next into staging 2022-01-08 12:01:36 +00:00
Dmitry Kalinkin c7548ff9a9
aws-sdk-cpp: fix cmake config 2022-01-07 07:04:56 -05:00
Dmitry Kalinkin fe912e67e3
aws-sdk-cpp: update GitHub repo owner 2022-01-07 07:04:11 -05:00
R. Ryantm 4ecebc7409 aws-sdk-cpp: 1.9.121 -> 1.9.150 2021-12-12 03:48:31 +00:00
Ryan Burns f2325f8ef0 aws-sdk-cpp: re-disable flaky test
This was un-disabled as it was thought to be resolved,
but has occurred again on Hydra.
2021-11-04 18:38:14 -07:00
Tom Bereknyei 3527b88d60 aws-sdk-cpp: propagate aws-crt-cpp 2021-10-20 03:48:45 -04:00
Ryan Burns abbb7c6e60 aws-sdk-cpp: 1.8.130 -> 1.9.121 2021-10-14 10:53:13 -07:00
happysalada d9087aab1b aws-sdk-cpp: disabale parallel checking
data races suspected in
aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp
and
aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp
2021-09-04 10:51:11 +09:00
happysalada c65ec0c87d aws-cpp-sdk: disable flaky test 2021-08-28 10:06:09 +09:00
r-burns d63e4e2367
aws-sdk-cpp: fix cross-OS crosscompilation (#133182)
The TARGET_ARCH cmake variable is used to specify the host OS, which if
unspecified defaults to the same as the build OS. So to crosscompile
aws-sdk-cpp to another OS, the TARGET_ARCH variable must be specified.

Example hydra failure: https://hydra.nixos.org/build/149290553/nixlog/3
2021-08-08 21:08:47 -04:00
Ben Siraphob 82ad135657
Merge pull request #111135 from r-ryantm/auto-update/aws-sdk-cpp
aws-sdk-cpp: 1.8.121 -> 1.8.130
2021-07-31 13:40:44 +07:00
Phillip Cloud a1c9a51fa7 awk-sdk-cpp: propagate libraries 2021-06-06 11:54:25 -04:00
Matthew Bauer 8b51a45a55
Merge pull request #116099 from matthewbauer/fix-aws-sdk-cpp-on-big-sur-2
aws-sdk-cpp: propagate Security framework
2021-05-04 22:31:30 -05:00
Luke Granger-Brown 300d303d25 aws-sdk-cpp: require big-parallel
This compiles in ~2h on a 2-core builder, and 10m on a big-parallel
machine.
2021-04-26 00:50:07 +00:00
Matthew Bauer 6255468c4e aws-sdk-cpp: propagate Security framework
We need to propagate the Security framework to avoid getting

ld: file not found: /System/Library/Frameworks/Security.framework/Versions/A/Security for architecture x86_64

on linking aws-sdk-cpp libraries.
2021-03-12 14:46:20 -06:00
Doug Chapman fc97021306 s2n: 0.10.23->1.0.0, rename package to s2n-tls 2021-03-03 19:45:40 +00:00
R. RyanTM 198ba9ef27 aws-sdk-cpp: 1.8.121 -> 1.8.130 2021-01-29 08:43:47 +00:00
volth bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Orivej Desh 92eb18f45d aws-sdk-cpp: fix cross compilation, configure for curl with http2 2021-01-21 10:33:28 +00:00
R. RyanTM aa61094aec aws-sdk-cpp: 1.8.113 -> 1.8.121 2021-01-19 03:14:48 +00:00
Orivej Desh ff3f5bb60c aws-sdk-cpp: 1.7.90 -> 1.8.113 2021-01-06 06:05:51 +00:00
TQ Hirsch 9d7885276a aws-sdk-cpp: Fix library and include paths in generated cmake files
AWS's SDK by default tries to prepend its install root to each of the
library paths; this obviously fails with the absolute paths that Nix
gives it. Worse, it computes the installation root by walking up the
filesystem from its cmake file, so even if the AWSSDK_ROOT_DIR is
explicitly set to the root directory, it gets replaced with the path
to the derivation's dev output.

This is all fixed with a patch to the cmake files that generate the
installed configuration.

Once this is fixed, it *still* doesn't work because the export
generator built into cmake insists on adding `$out/include` to the
header search path; when importing this configuration in another
package, cmake will fail because `$out/include` doesn't exist (After
all, it was relocated by a fixup hook). A small postFixupHook will
recreate the directory and make cmake happy.
2020-04-14 23:40:55 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Franz Pletz 6842238875
aws-sdk-cpp: fix build with gcc9 2019-11-02 17:47:52 +01:00
Dima 0ad35ab3ad aws-sdk-cpp: fixing hydra build
Removing debug info to fix hydra build.
The debug symbols alone are around ~1.8GB in size, which
makes the closure combined with the other two outputs
too large.
2019-10-09 22:48:12 +02:00
Matthew Bauer 980c80c08d aws-sdk-cpp: fix libatomic detection
Needed for https://hydra.nixos.org/build/100470050

/cc @lopsided98
2019-09-22 17:39:21 -04:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Justin Humm 2d8b3df99b
aws-sdk-cpp: fix cross compilation
aws-sdk-cpp tries to run code at build time using check_c_source_runs
[0] and therefore needs to be told about the expected exit code [1].

[0] https://cmake.org/cmake/help/latest/module/CheckCSourceRuns.html
[1] https://cmake.org/cmake/help/latest/command/try_run.html#behavior-when-cross-compiling
2019-05-14 23:41:59 +02:00
R. RyanTM f518935018 aws-sdk-cpp: 1.7.56 -> 1.7.90
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/aws-sdk-cpp/versions
2019-04-30 03:08:30 -07:00
R. RyanTM e0d8d72a9f aws-sdk-cpp: 1.7.53 -> 1.7.56 (#56595)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/aws-sdk-cpp/versions
2019-04-08 22:44:22 +02:00
Orivej Desh c32fa47ab4 aws-sdk-cpp: 1.7.49 -> 1.7.53 2019-02-19 22:40:48 +00:00
Orivej Desh f8acd126c5 aws-sdk-cpp: 1.6.52 -> 1.7.49
Since 1.7.0 it requires new aws-c* dependencies:
https://github.com/aws/aws-sdk-cpp/releases/tag/1.7.0
ffd81252be
2019-02-14 09:19:04 +00:00
Daiderd Jordan a4a7fd8d68
aws-sdk-cpp: fix darwin sandbox build
The tests use localhost networking, which is disallowed by
default in the darwin sandbox.
2019-02-12 23:38:13 +01:00
Orivej Desh b633e1b3d4 aws-sdk-cpp: 1.6.20 -> 1.6.52 2018-11-15 18:28:26 +00:00
R. RyanTM 360a753939 aws-sdk-cpp: 1.5.17 -> 1.6.20
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/aws-sdk-cpp/versions
2018-10-16 04:19:39 -07:00
R. RyanTM 65c2e09d9a aws-sdk-cpp: 1.4.82 -> 1.5.17
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/aws-sdk-cpp/versions.
2018-08-24 16:28:42 -07:00
R. RyanTM f891715b00 aws-sdk-cpp: 1.4.78 -> 1.4.82
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/aws-sdk-cpp/versions.
2018-07-11 10:16:04 -07:00
R. RyanTM 6d2bc746f3 aws-sdk-cpp: 1.4.70 -> 1.4.78
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/aws-sdk-cpp/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 1.4.78 with grep in /nix/store/5jxaryh2w692r3a20nijn5q7zc2xd43v-aws-sdk-cpp-1.4.78
- directory tree listing: https://gist.github.com/9e9bda76c45da3aee968472e112d51dc
- du listing: https://gist.github.com/890b235c67a7057ba2a51cd58db3c0fa
2018-07-04 15:52:46 -07:00