[SPARK-12643][BUILD] Set lib directory for antlr
[SPARK-12643][BUILD] Set lib directory for antlr

JIRA: https://issues.apache.org/jira/browse/SPARK-12643

Without setting lib directory for antlr, the updates of imported grammar files can not be detected. So SparkSqlParser.g will not be rebuilt automatically.

Since it is a minor update, no JIRA ticket is opened. Let me know if it is needed. Thanks.

Author: Liang-Chi Hsieh <viirya@gmail.com>

Closes #10571 from viirya/antlr-build.

jlopezmalla/spark,aray/spark,facaiy/spark,liyichao/spark,jianran/spark,akopich/spark,someorz/spark,rezasafi/spark,wangmiao1981/spark,ddna1021/spark,kevinyu98/spark,apache-spark-on-k8s/spark,vinodkc/spark,JoshRosen/spark,pgandhi999/spark,tejasapatil/spark,dhruve/spark,guoxiaolongzte/spark,poffuomo/spark,mahak/spark,sureshthalamati/spark,stanzhai/spark,chuckchen/spark,ajaysaini725/spark,liutang123/spark,1haodian/spark,map222/spark,holdenk/spark,kiszk/spark,byakuinss/spark,adrian-ionescu/apache-spark,liyichao/spark,gengliangwang/spark,kiszk/spark,metamx/spark,SnappyDataInc/spark,zhouyejoe/spark,lvdongr/spark,aray/spark,bOOm-X/spark,aray/spark,setjet/spark,facaiy/spark,jrshust/spark,bOOm-X/spark,nchammas/spark,bdrillard/spark,map222/spark,shubhamchopra/spark,1haodian/spark,spark-test/spark,Aegeaner/spark,mzl9039/spark,loneknightpy/spark,bdrillard/spark,rikima/spark,skonto/spark,bOOm-X/spark,WeichenXu123/spark,cloud-fan/spark,huang1900/spark,taroplus/spark,markhamstra/spark,Aegeaner/spark,mzl9039/spark,techaddict/spark,wangyum/spark,dhruve/spark,wangmiao1981/spark,Panos-Bletsos/spark-cost-model-optimizer,ioana-delaney/spark,SHASHANKB/spark,jrshust/spark,kiszk/spark,nchammas/spark,WeichenXu123/spark,akopich/spark,wzhfy/spark,adrian-ionescu/apache-spark,goldmedal/spark,cloud-fan/spark,ConeyLiu/spark,wangmiao1981/spark,ron8hu/spark,UndeadBaneGitHub/spark,kevinyu98/spark,markhamstra/spark,aosagie/spark,gioenn/xSpark,icexelloss/spark,aosagie/spark,wangmiao1981/spark,ahnqirage/spark,icexelloss/spark,ddna1021/spark,rednaxelafx/apache-spark,jiangxb1987/spark,adrian-ionescu/apache-spark,eyalfa/spark,poffuomo/spark,jiangxb1987/spark,srowen/spark,loneknightpy/spark,dongjoon-hyun/spark,rezasafi/spark,mdespriee/spark,alunarbeach/spark,rezasafi/spark,liyichao/spark,setjet/spark,xflin/spark,HyukjinKwon/spark,narahari92/spark,someorz/spark,ptkool/spark,WeichenXu123/spark,nlalevee/spark,narahari92/spark,jkbradley/spark,zero323/spark,ueshin/apache-spark,Panos-Bletsos/spark-cost-model-optimizer,jrshust/spark,wzhfy/spark,zhouyejoe/spark,caneGuy/spark,huang1900/spark,witgo/spark,darionyaphet/spark,hhbyyh/spark,aray/spark,tejasapatil/spark,spark-test/spark,JerryLead/spark,debugger87/spark,joseph-torres/spark,ahnqirage/spark,lxsmnv/spark,ericvandenbergfb/spark,sureshthalamati/spark,actuaryzhang/spark,LantaoJin/spark,shubhamchopra/spark,byakuinss/spark,ron8hu/spark,mahak/spark,kevinyu98/spark,skonto/spark,mdespriee/spark,saltstar/spark,ericvandenbergfb/spark,ddna1021/spark,Aegeaner/spark,ron8hu/spark,skonto/spark,esi-mineset/spark,holdenk/spark,jrshust/spark,liutang123/spark,aokolnychyi/spark,cin/spark,tejasapatil/spark,cloud-fan/spark,szhem/spark,aokolnychyi/spark,minixalpha/spark,huang1900/spark,LantaoJin/spark,mdespriee/spark,big-pegasus/spark,Panos-Bletsos/spark-cost-model-optimizer,witgo/spark,icexelloss/spark,gengliangwang/spark,narahari92/spark,markhamstra/spark,hvanhovell/spark,dongjoon-hyun/spark,bOOm-X/spark,rekhajoshm/spark,shubhamchopra/spark,panfengfeng/spark,ConeyLiu/spark,hvanhovell/spark,MLnick/spark,witgo/spark,LantaoJin/spark,SnappyDataInc/spark,SnappyDataInc/spark,HyukjinKwon/spark,spark-test/spark,zuotingbing/spark,tengpeng/spark,pgandhi999/spark,cloud-fan/spark,loneknightpy/spark,cin/spark,ueshin/apache-spark,ahnqirage/spark,caneGuy/spark,facaiy/spark,janewangfb/spark,nilsgrabbert/spark,ptkool/spark,brad-kaiser/spark,big-pegasus/spark,jianran/spark,vinodkc/spark,rezasafi/spark,ioana-delaney/spark,alunarbeach/spark,adrian-ionescu/apache-spark,zzcclp/spark,metamx/spark,saltstar/spark,shuangshuangwang/spark,xflin/spark,map222/spark,wangyum/spark,saturday-shi/spark,ddna1021/spark,HyukjinKwon/spark,ajaysaini725/spark,rezasafi/spark,mike0sv/spark,jkbradley/spark,saturday-shi/spark,michalsenkyr/spark,shaneknapp/spark,jianran/spark,darionyaphet/spark,saltstar/spark,gengliangwang/spark,kimoonkim/spark,vinodkc/spark,gioenn/xSpark,dhruve/spark,LantaoJin/spark,JerryLead/spark,UndeadBaneGitHub/spark,mahak/spark,JerryLead/spark,BryanCutler/spark,nchammas/spark,publicRoman/spark,aokolnychyi/spark,michalsenkyr/spark,taroplus/spark,caneGuy/spark,dongjoon-hyun/spark,markhamstra/spark,esi-mineset/spark,gengliangwang/spark,michalsenkyr/spark,vinodkc/spark,nilsgrabbert/spark,gioenn/xSpark,techaddict/spark,akopich/spark,saturday-shi/spark,BryanCutler/spark,ibm-research-ireland/sparkoscope,ioana-delaney/spark,wzhfy/spark,holdenk/spark,shaneknapp/spark,ahnqirage/spark,hhbyyh/spark,jkbradley/spark,vinodkc/spark,shaneknapp/spark,actuaryzhang/spark,szhem/spark,mzl9039/spark,aosagie/spark,bOOm-X/spark,kevinyu98/spark,srowen/spark,mahak/spark,lxsmnv/spark,aray/spark,maropu/spark,holdenk/spark,joseph-torres/spark,debugger87/spark,sachintyagi22/spark,loneknightpy/spark,hhbyyh/spark,ioana-delaney/spark,icexelloss/spark,patrick-nicholson/spark,shaneknapp/spark,saturday-shi/spark,alunarbeach/spark,publicRoman/spark,nilsgrabbert/spark,milliman/spark,milliman/spark,chuckchen/spark,actuaryzhang/spark,hvanhovell/spark,darionyaphet/spark,hvanhovell/spark,zhouyejoe/spark,taroplus/spark,patrick-nicholson/spark,liutang123/spark,huang1900/spark,tejasapatil/spark,poffuomo/spark,ddna1021/spark,bravo-zhang/spark,ueshin/apache-spark,vinodkc/spark,LantaoJin/spark,bravo-zhang/spark,wangyum/spark,aokolnychyi/spark,zzcclp/spark,WindCanDie/spark,ron8hu/spark,zuotingbing/spark,kevinyu98/spark,lvdongr/spark,joseph-torres/spark,someorz/spark,big-pegasus/spark,nchammas/spark,actuaryzhang/spark,debugger87/spark,panfengfeng/spark,UndeadBaneGitHub/spark,MLnick/spark,kissmetrics/spark,tengpeng/spark,janewangfb/spark,zuotingbing/spark,UndeadBaneGitHub/spark,ibm-research-ireland/sparkoscope,caneGuy/spark,janewangfb/spark,aosagie/spark,saltstar/spark,rikima/spark,taroplus/spark,tejasapatil/spark,BryanCutler/spark,bdrillard/spark,dbtsai/spark,sureshthalamati/spark,WindCanDie/spark,hhbyyh/spark,esi-mineset/spark,sachintyagi22/spark,taroplus/spark,aosagie/spark,kevinyu98/spark,taroplus/spark,darionyaphet/spark,kimoonkim/spark,ibm-research-ireland/sparkoscope,zzcclp/spark,Aegeaner/spark,goldmedal/spark,kissmetrics/spark,UndeadBaneGitHub/spark,narahari92/spark,taroplus/spark,hvanhovell/spark,dhruve/spark,andrewor14/spark,ibm-research-ireland/sparkoscope,kiszk/spark,apache/spark,MLnick/spark,wangyum/spark,michalsenkyr/spark,UndeadBaneGitHub/spark,eyalfa/spark,jianran/spark,facaiy/spark,mdespriee/spark,ericvandenbergfb/spark,ptkool/spark,ueshin/apache-spark,milliman/spark,tengpeng/spark,yanboliang/spark,byakuinss/spark,sahilTakiar/spark,mike0sv/spark,szhem/spark,highfei2011/spark,alunarbeach/spark,sachintyagi22/spark,huang1900/spark,cin/spark,kiszk/spark,eyalfa/spark,dbtsai/spark,chuckchen/spark,LantaoJin/spark,yanboliang/spark,tengpeng/spark,andrewor14/spark,wzhfy/spark,map222/spark,actuaryzhang/spark,techaddict/spark,lvdongr/spark,adrian-ionescu/apache-spark,srowen/spark,lvdongr/spark,sahilTakiar/spark,bravo-zhang/spark,rednaxelafx/apache-spark,ConeyLiu/spark,patrick-nicholson/spark,xuanyuanking/spark,kimoonkim/spark,maropu/spark,sureshthalamati/spark,sureshthalamati/spark,icexelloss/spark,rednaxelafx/apache-spark,darionyaphet/spark,ron8hu/spark,HyukjinKwon/spark,zuotingbing/spark,HyukjinKwon/spark,ConeyLiu/spark,witgo/spark,wangyum/spark,ibm-research-ireland/sparkoscope,wzhfy/spark,big-pegasus/spark,LantaoJin/spark,yanboliang/spark,maropu/spark,gengliangwang/spark,tengpeng/spark,lxsmnv/spark,mzl9039/spark,ajaysaini725/spark,nlalevee/spark,facaiy/spark,andrewor14/spark,guoxiaolongzte/spark,minixalpha/spark,mike0sv/spark,mzl9039/spark,dongjoon-hyun/spark,loneknightpy/spark,jrshust/spark,WeichenXu123/spark,chuckchen/spark,hhbyyh/spark,nilsgrabbert/spark,narahari92/spark,highfei2011/spark,stanzhai/spark,WindCanDie/spark,techaddict/spark,Aegeaner/spark,aokolnychyi/spark,publicRoman/spark,xuanyuanking/spark,mdespriee/spark,rednaxelafx/apache-spark,shubhamchopra/spark,nlalevee/spark,metamx/spark,minixalpha/spark,akopich/spark,mahak/spark,matthewfranglen/spark,ueshin/apache-spark,mzl9039/spark,caneGuy/spark,highfei2011/spark,ron8hu/spark,brad-kaiser/spark,zzcclp/spark,sahilTakiar/spark,1haodian/spark,debugger87/spark,goldmedal/spark,zhouyejoe/spark,xflin/spark,minixalpha/spark,Panos-Bletsos/spark-cost-model-optimizer,goldmedal/spark,pgandhi999/spark,eyalfa/spark,publicRoman/spark,srowen/spark,lvdongr/spark,wangmiao1981/spark,mdespriee/spark,lxsmnv/spark,rekhajoshm/spark,esi-mineset/spark,dongjoon-hyun/spark,panfengfeng/spark,cloud-fan/spark,eyalfa/spark,kissmetrics/spark,minixalpha/spark,sahilTakiar/spark,nlalevee/spark,WindCanDie/spark,panfengfeng/spark,JoshRosen/spark,JerryLead/spark,rednaxelafx/apache-spark,michalsenkyr/spark,jkbradley/spark,patrick-nicholson/spark,shuangshuangwang/spark,nchammas/spark,spark-test/spark,goldmedal/spark,bdrillard/spark,jkbradley/spark,setjet/spark,nlalevee/spark,setjet/spark,goldmedal/spark,BryanCutler/spark,dbtsai/spark,poffuomo/spark,nchammas/spark,rikima/spark,akopich/spark,apache/spark,liyichao/spark,chuckchen/spark,kiszk/spark,dongjoon-hyun/spark,poffuomo/spark,jlopezmalla/spark,markhamstra/spark,nilsgrabbert/spark,dhruve/spark,srowen/spark,1haodian/spark,actuaryzhang/spark,sahilTakiar/spark,xflin/spark,chuckchen/spark,sachintyagi22/spark,yanboliang/spark,wangmiao1981/spark,setjet/spark,adrian-ionescu/apache-spark,apache-spark-on-k8s/spark,xuanyuanking/spark,yanboliang/spark,debugger87/spark,patrick-nicholson/spark,xuanyuanking/spark,rednaxelafx/apache-spark,ConeyLiu/spark,highfei2011/spark,joseph-torres/spark,apache-spark-on-k8s/spark,ueshin/apache-spark,WeichenXu123/spark,nchammas/spark,apache/spark,mike0sv/spark,alunarbeach/spark,hvanhovell/spark,nilsgrabbert/spark,guoxiaolongzte/spark,SHASHANKB/spark,byakuinss/spark,maropu/spark,ioana-delaney/spark,bdrillard/spark,jiangxb1987/spark,apache/spark,holdenk/spark,apache/spark,kissmetrics/spark,mahak/spark,SHASHANKB/spark,sahilTakiar/spark,loneknightpy/spark,SHASHANKB/spark,brad-kaiser/spark,shuangshuangwang/spark,liutang123/spark,MLnick/spark,maropu/spark,liyichao/spark,wangyum/spark,zzcclp/spark,vinodkc/spark,jianran/spark,ddna1021/spark,sachintyagi22/spark,dbtsai/spark,byakuinss/spark,highfei2011/spark,1haodian/spark,dhruve/spark,JerryLead/spark,xuanyuanking/spark,someorz/spark,icexelloss/spark,milliman/spark,zero323/spark,pgandhi999/spark,ptkool/spark,jiangxb1987/spark,wzhfy/spark,SnappyDataInc/spark,ptkool/spark,brad-kaiser/spark,publicRoman/spark,bravo-zhang/spark,jianran/spark,apache-spark-on-k8s/spark,tejasapatil/spark,rekhajoshm/spark,bdrillard/spark,ahnqirage/spark,gengliangwang/spark,loneknightpy/spark,markhamstra/spark,alunarbeach/spark,WindCanDie/spark,liutang123/spark,bdrillard/spark,stanzhai/spark,WindCanDie/spark,HyukjinKwon/spark,caneGuy/spark,zhouyejoe/spark,JoshRosen/spark,jlopezmalla/spark,szhem/spark,hhbyyh/spark,sahilTakiar/spark,shuangshuangwang/spark,kissmetrics/spark,spark-test/spark,kissmetrics/spark,apache-spark-on-k8s/spark,apache/spark,zero323/spark,rednaxelafx/apache-spark,andrewor14/spark,lvdongr/spark,lxsmnv/spark,zuotingbing/spark,szhem/spark,shaneknapp/spark,xflin/spark,ericvandenbergfb/spark,saltstar/spark,milliman/spark,zero323/spark,saturday-shi/spark,highfei2011/spark,stanzhai/spark,stanzhai/spark,gengliangwang/spark,saturday-shi/spark,saltstar/spark,zero323/spark,alunarbeach/spark,SnappyDataInc/spark,shaneknapp/spark,jkbradley/spark,srowen/spark,holdenk/spark,BryanCutler/spark,aray/spark,actuaryzhang/spark,zuotingbing/spark,zuotingbing/spark,shuangshuangwang/spark,szhem/spark,narahari92/spark,big-pegasus/spark,tengpeng/spark,icexelloss/spark,eyalfa/spark,witgo/spark,Panos-Bletsos/spark-cost-model-optimizer,goldmedal/spark,JoshRosen/spark,WeichenXu123/spark,ericvandenbergfb/spark,pgandhi999/spark,SnappyDataInc/spark,maropu/spark,publicRoman/spark,metamx/spark,metamx/spark,akopich/spark,cloud-fan/spark,bravo-zhang/spark,nlalevee/spark,aokolnychyi/spark,cloud-fan/spark,UndeadBaneGitHub/spark,ajaysaini725/spark,ddna1021/spark,guoxiaolongzte/spark,lxsmnv/spark,joseph-torres/spark,panfengfeng/spark,janewangfb/spark,gioenn/xSpark,bOOm-X/spark,dongjoon-hyun/spark,ioana-delaney/spark,tejasapatil/spark,bOOm-X/spark,bravo-zhang/spark,aray/spark,esi-mineset/spark,narahari92/spark,joseph-torres/spark,rekhajoshm/spark,WindCanDie/spark,BryanCutler/spark,apache/spark,map222/spark,witgo/spark,facaiy/spark,hhbyyh/spark,wangmiao1981/spark,shuangshuangwang/spark,minixalpha/spark,holdenk/spark,milliman/spark,publicRoman/spark,debugger87/spark,setjet/spark,brad-kaiser/spark,caneGuy/spark,skonto/spark,patrick-nicholson/spark,liyichao/spark,ahnqirage/spark,tengpeng/spark,mahak/spark,someorz/spark,ibm-research-ireland/sparkoscope,patrick-nicholson/spark,liutang123/spark,brad-kaiser/spark,akopich/spark,ericvandenbergfb/spark,skonto/spark,rezasafi/spark,lvdongr/spark,ajaysaini725/spark,markhamstra/spark,rikima/spark,hvanhovell/spark,michalsenkyr/spark,janewangfb/spark,someorz/spark,poffuomo/spark,spark-test/spark,map222/spark,nlalevee/spark,aosagie/spark,big-pegasus/spark,yanboliang/spark,saturday-shi/spark,ron8hu/spark,milliman/spark,ConeyLiu/spark,gioenn/xSpark,jiangxb1987/spark,nilsgrabbert/spark,debugger87/spark,janewangfb/spark,lxsmnv/spark,WeichenXu123/spark,facaiy/spark,1haodian/spark,JoshRosen/spark,srowen/spark,ajaysaini725/spark,jlopezmalla/spark,JoshRosen/spark,xflin/spark,setjet/spark,kimoonkim/spark,jlopezmalla/spark,shubhamchopra/spark,apache-spark-on-k8s/spark,Panos-Bletsos/spark-cost-model-optimizer,spark-test/spark,skonto/spark,mike0sv/spark,ptkool/spark,chuckchen/spark,xuanyuanking/spark,MLnick/spark,SnappyDataInc/spark,mdespriee/spark,shubhamchopra/spark,cin/spark,rikima/spark,metamx/spark,zhouyejoe/spark,janewangfb/spark,kevinyu98/spark,apache-spark-on-k8s/spark,sureshthalamati/spark,dhruve/spark,skonto/spark,JoshRosen/spark,kimoonkim/spark,stanzhai/spark,zzcclp/spark,cin/spark,adrian-ionescu/apache-spark,xflin/spark,gioenn/xSpark,techaddict/spark,rekhajoshm/spark,byakuinss/spark,jrshust/spark,ajaysaini725/spark,big-pegasus/spark,metamx/spark,bravo-zhang/spark,kimoonkim/spark,MLnick/spark,michalsenkyr/spark,xuanyuanking/spark,zero323/spark,kimoonkim/spark,ahnqirage/spark,MLnick/spark,ibm-research-ireland/sparkoscope,esi-mineset/spark,techaddict/spark,ConeyLiu/spark,panfengfeng/spark,witgo/spark,panfengfeng/spark,maropu/spark,darionyaphet/spark,highfei2011/spark,jlopezmalla/spark,szhem/spark,map222/spark,wzhfy/spark,brad-kaiser/spark,ptkool/spark,cin/spark,sureshthalamati/spark,rezasafi/spark,Panos-Bletsos/spark-cost-model-optimizer,andrewor14/spark,someorz/spark,liyichao/spark,aokolnychyi/spark,mzl9039/spark,jiangxb1987/spark,SHASHANKB/spark,shubhamchopra/spark,darionyaphet/spark,huang1900/spark,kiszk/spark,mike0sv/spark,kissmetrics/spark,yanboliang/spark,minixalpha/spark,jiangxb1987/spark,rekhajoshm/spark,poffuomo/spark,guoxiaolongzte/spark,JerryLead/spark,saltstar/spark,rikima/spark,sachintyagi22/spark,ericvandenbergfb/spark,liutang123/spark,ioana-delaney/spark,mike0sv/spark,guoxiaolongzte/spark,byakuinss/spark,stanzhai/spark,sachintyagi22/spark,pgandhi999/spark,joseph-torres/spark,zero323/spark,guoxiaolongzte/spark,cin/spark,esi-mineset/spark,eyalfa/spark,SHASHANKB/spark,jianran/spark,jkbradley/spark,jlopezmalla/spark,shaneknapp/spark,dbtsai/spark,ueshin/apache-spark,dbtsai/spark,huang1900/spark,Aegeaner/spark,shuangshuangwang/spark,gioenn/xSpark,1haodian/spark,HyukjinKwon/spark,andrewor14/spark,pgandhi999/spark,rekhajoshm/spark,JerryLead/spark,BryanCutler/spark,zhouyejoe/spark,aosagie/spark,jrshust/spark,techaddict/spark,Aegeaner/spark,rikima/spark,SHASHANKB/spark,dbtsai/spark,andrewor14/spark,zzcclp/spark,wangyum/spark