Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38488

Spark doc build not work on Mac OS M1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.4.0
    • 3.4.0
    • Project Infra
    • None

    Description

       

      diff --git a/docs/.bundle/config b/docs/.bundle/config
      index b13821f801..68c1ee493a 100644
      --- a/docs/.bundle/config
      +++ b/docs/.bundle/config
      @@ -1,2 +1,3 @@
       ---
       BUNDLE_PATH: ".local_ruby_bundle"
      +BUNDLE_BUILD__FFI: "--enable-libffi-alloc"
      diff --git a/docs/Gemfile b/docs/Gemfile
      index f991622708..6c35201296 100644
      --- a/docs/Gemfile
      +++ b/docs/Gemfile
      @@ -17,6 +17,7 @@
       source "https://rubygems.org"
      +gem "ffi", "1.15.5"
       gem "jekyll", "4.2.1"
       gem "rouge", "3.26.0"
       gem "jekyll-redirect-from", "0.16.0"
      

      After above patch redo `bundle install`, then it works, you could see this as ref if you meet the same issue.

      will take a deep look to solve this.

       

      related: https://github.com/ffi/ffi/issues/864

      Attachments

        Activity

          People

            yikunkero Yikun Jiang
            yikunkero Yikun Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: