facebook / CacheLib

Pluggable in-process caching engine to build and scale high performance services
https://www.cachelib.org
Apache License 2.0
1.18k stars 254 forks source link

build.sh: error: No build recipe for detected operating system 'fedora38' #272

Closed MHamour closed 10 months ago

MHamour commented 10 months ago

Attempted to build CacheLib on Fedora38

./contrib/build.sh -j -T build.sh: error: No build recipe for detected operating system 'fedora38'

jaesoo-fb commented 10 months ago

Hi. We don't have a recipe for Fedora38. Could you see if fedora 34 recipe works?

diff --git a/contrib/build.sh b/contrib/build.sh
index 718b2af8..12d687d6 100755
--- a/contrib/build.sh
+++ b/contrib/build.sh
@@ -167,7 +167,7 @@ if test -z "$skip_os_pkgs" ; then
     centos8|rocky8.?) build_centos_8 ;;
     centos9) build_centos_9 ;;
     rocky9.?) build_rocky_9 ;;
-    fedora3[456]) build_fedora_34 ;;
+    fedora3[4-8]) build_fedora_34 ;;
     arch*|manjaro*) build_arch ;;
     *) die "No build recipe for detected operating system '$DETECTED'" ;;
   esac
MHamour commented 10 months ago

I should've updated this earlier. Yes, the Fedora 34 recipe works, using the same change.

jaesoo-fb commented 10 months ago

@MHamour Thanks for the confirmation