···11{ lib
22, mkDerivation
33, fetchFromGitHub
44+, fetchpatch
45, bison
56, cmake
67, doxygen
···34353536mkDerivation rec {
3637 pname = "openroad";
3737- version = "unstable-2023-03-31";
3838+ version = "unstable-2023-08-26";
38393940 src = fetchFromGitHub {
4041 owner = "The-OpenROAD-Project";
4142 repo = "OpenROAD";
4242- rev = "cd03c5cf8a8eb78c0e07fe33a56b8e9d64672efe";
4343+ rev = "6dba515c2aacd3fca58ef8135424884146efd95b";
4344 fetchSubmodules = true;
4444- hash = "sha256-BWUvFCuWKWQpifErpak03J+A7ni0jZWIrCMhMdKIbD0=";
4545+ hash = "sha256-LAj7X+Vq0+H3tIo5zgyUuIjQwTj+2DLL18/KMJ/kf4A=";
4546 };
46474748 nativeBuildInputs = [
···7980 ];
80818182 patches = [
8282- ./0001-Fix-string-formatting-in-tests.patch
8383+ # https://github.com/The-OpenROAD-Project/OpenROAD/pull/3911
8484+ (fetchpatch {
8585+ name = "openroad-fix-fmt-10.patch";
8686+ url = "https://github.com/The-OpenROAD-Project/OpenROAD/commit/9396f07f28e0260cd64acfc51909f6566b70e682.patch";
8787+ hash = "sha256-jy8K8pdhSswVz6V6otk8JAI7nndaFVMuKQ/4A3Kzwns=";
8888+ })
8989+ # Upstream is not aware of these failures
9090+ ./0001-Disable-failing-regression-tests.patch
9191+ # This is an issue we experience in the sandbox, and upstream
9292+ # probably wouldn't mind merging this change, but no PR was opened.
8393 ./0002-Ignore-warning-on-stderr.patch
8494 ];
8595···899990100 # Enable output images from the placer.
91101 cmakeFlags = [
102102+ # Tries to download gtest 1.13 as part of the build. We currently rely on
103103+ # the regression tests so we can get by without building unit tests.
104104+ "-DENABLE_TESTS=OFF"
92105 "-DUSE_SYSTEM_BOOST=ON"
93106 "-DUSE_CIMG_LIB=ON"
94107 "-DOPENROAD_VERSION=${src.rev}"
9595-9696- # 2023-03-31: see discussion on fmt workaround in
9797- # https://github.com/The-OpenROAD-Project/OpenROAD/pull/2696
9898- "-DCMAKE_CXX_FLAGS=-DFMT_DEPRECATED_OSTREAM"
99108 ];
100109101110 # Resynthesis needs access to the Yosys binaries.
102111 qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ yosys ]}" ];
103103-104104- checkInputs = [ gtest ];
105112106113 # Upstream uses vendored package versions for some dependencies, so regression testing is prudent
107114 # to see if there are any breaking changes in unstable that should be vendored as well.
+9-14
pkgs/development/libraries/spdlog/default.nix
···33, fetchFromGitHub
44, fetchpatch
55, cmake
66-# Although we include upstream patches that fix compilation with fmt_10, we
77-# still use fmt_9 because this dependency is propagated, and many of spdlog's
88-# reverse dependencies don't support fmt_10 yet.
99-, fmt_9
66+, fmt
77+, catch2_3
108, staticBuild ? stdenv.hostPlatform.isStatic
1191210# tests
···15131614stdenv.mkDerivation rec {
1715 pname = "spdlog";
1818- version = "1.11.0";
1616+ version = "1.12.0";
19172018 src = fetchFromGitHub {
2119 owner = "gabime";
2220 repo = "spdlog";
2321 rev = "v${version}";
2424- hash = "sha256-kA2MAb4/EygjwiLEjF9EA7k8Tk//nwcKB1+HlzELakQ=";
2222+ hash = "sha256-cxTaOuLXHRU8xMz9gluYz0a93O0ez2xOxbloyc1m1ns=";
2523 };
26242725 patches = [
2828- # Fix compatiblity with fmt 10.0. Remove with the next release
2626+ # Fix a broken test, remove with the next release.
2927 (fetchpatch {
3030- url = "https://github.com/gabime/spdlog/commit/0ca574ae168820da0268b3ec7607ca7b33024d05.patch";
3131- hash = "sha256-cRsQilkyUQW47PFpDwKgU/pm+tOeLvwPx32gNOPAO1U=";
3232- })
3333- (fetchpatch {
3434- url = "https://github.com/gabime/spdlog/commit/af1785b897c9d1098d4aa7213fad232be63c19b4.patch";
3535- hash = "sha256-zpfLiBeDAOsvk4vrIyXC0kvFe2WkhAhersd+fhA8DFY=";
2828+ url = "https://github.com/gabime/spdlog/commit/2ee8bac78e6525a8ad9a9196e65d502ce390d83a.patch";
2929+ hash = "sha256-L79yOkm3VY01jmxNctfneTLmOA5DEQeNNGC8LbpJiOc=";
3630 })
3731 ];
38323933 nativeBuildInputs = [ cmake ];
4040- propagatedBuildInputs = [ fmt_9 ];
3434+ propagatedBuildInputs = [ fmt ];
3535+ checkInputs = [ catch2_3 ];
41364237 cmakeFlags = [
4338 "-DSPDLOG_BUILD_SHARED=${if staticBuild then "OFF" else "ON"}"