mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
Merge pull request #129572 from redvers/ponyc-0.42.0
ponyc: 0.41.1 -> 0.42.0
This commit is contained in:
commit
5da034ebe2
|
@ -3,13 +3,13 @@
|
|||
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "ponyc";
|
||||
version = "0.41.1";
|
||||
version = "0.42.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ponylang";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "02wx070cy1193xzv58vh79yzwgpqiayqlwd3i285698fppbcg69a";
|
||||
sha256 = "1s8glmzz0g5lj1fjwwy4m3n660smiq5wl9r1lg686wqh42hcgnsy";
|
||||
|
||||
# Due to a bug in LLVM 9.x, ponyc has to include its own vendored patched
|
||||
# LLVM. (The submodule is a specific tag in the LLVM source tree).
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
--- a/lib/CMakeLists.txt 2021-05-27 15:58:36.819331229 -0400
|
||||
+++ b/lib/CMakeLists.txt 2021-05-27 16:00:19.768268649 -0400
|
||||
@@ -10,12 +10,12 @@
|
||||
--- a/lib/CMakeLists.txt.orig 2021-07-07 13:40:20.209410160 -0400
|
||||
+++ a/lib/CMakeLists.txt 2021-07-07 13:43:11.886969662 -0400
|
||||
@@ -15,12 +15,12 @@
|
||||
endif()
|
||||
|
||||
ExternalProject_Add(gbenchmark
|
||||
- URL https://github.com/google/benchmark/archive/v1.5.2.tar.gz
|
||||
+ SOURCE_DIR gbenchmark-prefix/src/benchmark
|
||||
- URL ${PONYC_GBENCHMARK_URL}
|
||||
+ SOURCE_DIR gbenchmark-prefix/src/benchmark
|
||||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DCMAKE_CXX_FLAGS=-fpic --no-warn-unused-cli
|
||||
)
|
||||
|
||||
ExternalProject_Add(googletest
|
||||
- URL https://github.com/google/googletest/archive/release-1.8.1.tar.gz
|
||||
+ URL @googletest@
|
||||
+ URL @googletest@
|
||||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DCMAKE_CXX_FLAGS=-fpic -Dgtest_force_shared_crt=ON --no-warn-unused-cli
|
||||
)
|
||||
|
||||
@@ -28,75 +28,6 @@
|
||||
@@ -33,75 +33,6 @@
|
||||
COMPONENT library
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue