[abseil] update to 20240116.1 (#3321)

pull/3326/head
c8ef 11 months ago committed by GitHub
parent 7c14324a63
commit 2d5545d118
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      packages/a/abseil/xmake.lua

@ -13,6 +13,7 @@ package("abseil")
add_versions("20220623.0", "4208129b49006089ba1d6710845a45e31c59b0ab6bff9e5788a87f55c5abd602")
add_versions("20230125.2", "9a2b5752d7bfade0bdeee2701de17c9480620f8b237e1964c1b9967c75374906")
add_versions("20230802.1", "987ce98f02eefbaf930d6e38ab16aa05737234d7afbab2d5c4ea7adbe50c28ed")
add_versions("20240116.1", "3c743204df78366ad2eaf236d6631d83f6bc928d1705dd0000b872e53b73dc6a")
add_deps("cmake")
@ -64,13 +65,13 @@ package("abseil")
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include "absl/strings/numbers.h"
#include "absl/strings/str_join.h"
#include <iostream>
#include <string>
#include <vector>
#include "absl/strings/numbers.h"
#include "absl/strings/str_join.h"
void test () {
std::vector<std::string> v = {"foo","bar","baz"};
void test() {
std::vector<std::string> v = {"foo", "bar", "baz"};
std::string s = absl::StrJoin(v, "-");
int result = 0;
auto a = absl::SimpleAtoi("123", &result);

Loading…
Cancel
Save