@@ -373,50 +373,49 @@ ExternalProject_Add_StepDependencies(esmf build netcdf_fortran pio)
373
373
##
374
374
## NCEPLIBS
375
375
##
376
- set (NCEPLIBS- bacio_tag v2 .4.1)
377
- set (NCEPLIBS- g2_tag v3 .4.5)
378
- set (NCEPLIBS- g2tmpl_tag v1 .10.2)
379
- set (NCEPLIBS- gfsio_tag v1 .4.1)
380
- set (NCEPLIBS- ip_tag v4 .3.0)
381
- set (NCEPLIBS- nemsio_tag v2 .5.4)
382
- set (NCEPLIBS- sfcio_tag v1 .4.1)
383
- set (NCEPLIBS- sigio_tag v2 .3.2)
384
- set (NCEPLIBS- sp_tag v2 .3.3)
385
- set (NCEPLIBS- w3emc_tag v2 .10.0)
376
+ set (bacio_tag 2 .4.1)
377
+ set (g2_tag 3 .4.5)
378
+ set (g2tmpl_tag 1 .10.2)
379
+ set (gfsio_tag 1 .4.1)
380
+ set (ip_tag 4 .3.0)
381
+ set (nemsio_tag 2 .5.4)
382
+ set (sfcio_tag 1 .4.1)
383
+ set (sigio_tag 2 .3.2)
384
+ set (sp_tag 2 .3.3)
385
+ set (w3emc_tag 2 .10.0)
386
386
387
387
foreach (lib_name
388
- NCEPLIBS- bacio
389
- NCEPLIBS- g2
390
- NCEPLIBS- g2tmpl
391
- NCEPLIBS- gfsio
392
- NCEPLIBS- ip
393
- NCEPLIBS- nemsio
394
- NCEPLIBS- sfcio
395
- NCEPLIBS- sigio
396
- NCEPLIBS- sp
397
- NCEPLIBS- w3emc)
388
+ bacio
389
+ g2
390
+ g2tmpl
391
+ gfsio
392
+ ip
393
+ nemsio
394
+ sfcio
395
+ sigio
396
+ sp
397
+ w3emc)
398
398
399
399
ExternalProject_Add(${lib_name}
400
- GIT_REPOSITORY https://github.com/NOAA-EMC/${lib_name}
401
- GIT_TAG ${${lib_name} _tag}
400
+ GIT_REPOSITORY https://github.com/NOAA-EMC/NCEPLIBS- ${lib_name}
401
+ GIT_TAG v ${${lib_name} _tag}
402
402
GIT_SUBMODULES_RECURSE ON
403
403
UPDATE_COMMAND ""
404
404
BUILD_IN_SOURCE OFF
405
405
LIST_SEPARATOR ,
406
406
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${install_prefix} /${lib_name}
407
407
-DCMAKE_INSTALL_LIBDIR=lib
408
408
-DCMAKE_PREFIX_PATH=${install_prefix} /netcdf,${install_prefix} /jasper,${install_prefix} /libpng,${install_prefix} /zlib
409
- -Dbacio_ROOT=${install_prefix} /NCEPLIBS-bacio
410
- -Dg2_ROOT=${install_prefix} /NCEPLIBS-g2
411
- -Dg2tmpl_ROOT=${install_prefix} /NCEPLIBS-g2tmpl
412
- -Dgfsio_ROOT=${install_prefix} /NCEPLIBS-gfsio
413
- -Dip_ROOT=${install_prefix} /NCEPLIBS-ip
414
- -Dnemsio_ROOT=${install_prefix} /NCEPLIBS-nemsio
415
- -Dsfcio_ROOT=${install_prefix} /NCEPLIBS-sfcio
416
- -Dsigio_ROOT=${install_prefix} /NCEPLIBS-sigio
417
- -Dsp_ROOT=${install_prefix} /NCEPLIBS-sp
418
- -Dw3nco_ROOT=${install_prefix} /NCEPLIBS-w3nco
419
- -Dw3emc_ROOT=${install_prefix} /NCEPLIBS-w3emc
409
+ -Dbacio_ROOT=${install_prefix} /bacio
410
+ -Dg2_ROOT=${install_prefix} /g2
411
+ -Dg2tmpl_ROOT=${install_prefix} /g2tmpl
412
+ -Dgfsio_ROOT=${install_prefix} /gfsio
413
+ -Dip_ROOT=${install_prefix} /ip
414
+ -Dnemsio_ROOT=${install_prefix} /nemsio
415
+ -Dsfcio_ROOT=${install_prefix} /sfcio
416
+ -Dsigio_ROOT=${install_prefix} /sigio
417
+ -Dsp_ROOT=${install_prefix} /sp
418
+ -Dw3emc_ROOT=${install_prefix} /w3emc
420
419
-DBUILD_WITH_BUFR=OFF
421
420
LOG_DOWNLOAD ON
422
421
LOG_CONFIGURE ON
@@ -426,10 +425,10 @@ foreach(lib_name
426
425
427
426
endforeach ()
428
427
429
- ExternalProject_Add_StepDependencies(NCEPLIBS- g2 build jasper libpng)
430
- ExternalProject_Add_StepDependencies(NCEPLIBS- ip build NCEPLIBS- sp)
431
- ExternalProject_Add_StepDependencies(NCEPLIBS- nemsio build NCEPLIBS- bacio NCEPLIBS- w3emc)
432
- ExternalProject_Add_StepDependencies(NCEPLIBS- w3emc build NCEPLIBS- bacio)
428
+ ExternalProject_Add_StepDependencies(g2 build jasper libpng)
429
+ ExternalProject_Add_StepDependencies(ip build sp)
430
+ ExternalProject_Add_StepDependencies(nemsio build bacio w3emc)
431
+ ExternalProject_Add_StepDependencies(w3emc build bacio)
433
432
434
433
##
435
434
## crtm
0 commit comments