Browse Source

Merge pull request #1124 from cyfdecyf/rapidjson-arrow

rapidjson: add virtual version v1.1.0-arrow
ruki 3 years ago
parent
commit
b1f2bd4804
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/r/rapidjson/xmake.lua

+ 3 - 1
packages/r/rapidjson/xmake.lua

@@ -7,6 +7,8 @@ package("rapidjson")
              "https://github.com/Tencent/rapidjson.git")
 
     add_versions("v1.1.0", "8e00c38829d6785a2dfb951bb87c6974fa07dfe488aa5b25deec4b8bc0f6a3ab")
+    -- This commit is used in arrow 7.0.0 https://github.com/apache/arrow/blob/release-7.0.0/cpp/thirdparty/versions.txt#L80
+    add_versions("v1.1.0-arrow", "1a803826f1197b5e30703afe4b9c0e7dd48074f5")
 
     on_install(function (package)
         os.cp(path.join("include", "*"), package:installdir("include"))
@@ -25,4 +27,4 @@ package("rapidjson")
                 d.Accept(writer);
             }
         ]]}, {configs = {languages = "c++11"}, includes = { "rapidjson/document.h", "rapidjson/stringbuffer.h", "rapidjson/writer.h"} }))
-    end)
+    end)