Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8033946

make/HotspotWrapper.gmk needs to ignore "ide" folder

XMLWordPrintable

    • os_x

      make/HotspotWrapper.gmk needs to ignore "ide" folder

      For JDK-8007737 one needs to manually patch make/HotspotWrapper.gmk to ignore the "ide" folder, or otherwise the make file system gets confused and won't build hotspot if I add the Xcode project to hotspot folder:

      > hg diff ./make/HotspotWrapper.gmk
      diff -r 1e1f86d5d4e2 make/HotspotWrapper.gmk
      --- a/make/HotspotWrapper.gmk Thu Dec 12 05:20:45 2013 -0800
      +++ b/make/HotspotWrapper.gmk Thu Dec 26 11:11:54 2013 -0600
      @@ -35,8 +35,8 @@
       
       default: all
       
      -# Get all files except .hg in the hotspot directory.
      -HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print)
      +# Get all files except ".hg" and "ide" related files in the hotspot directory.
      +HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print | $(GREP) -v "ide")
       
       # The old build creates hotspot output dir before calling hotspot and
       # not doing it breaks builds on msys.


            gziemski Gerard Ziemski
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: