Skip to content
Snippets Groups Projects
Select Git revision
  • 797af2e80f0effddeca2b964283705940fa45df8
  • develop default protected
  • ascent-pipeline-trigger-spack-ref
  • ascent
  • fixes/compiler_paths_in_buildcache
  • features/env-dev-build-n-packages
  • bugfix/fork-function
  • features/install-tree-projections
  • gartung-bindist-check-macho-on-linux
  • features/spack-test-results-filterNlogs
  • features/spack-test-restore-subcommand-help
  • features/spack-test
  • features/solver-rebased
  • features/spack-test-add-show-subcommand
  • features/compil
  • bugfix/shasta-hotfix-live-branch
  • bugfix/ordered-dict-merge
  • features/solver
  • bugfix/buildable-true-override-virtual
  • csh-no-spack-root
  • features/spack-test-hdf5-fix
  • snapshot-20200922
  • releases/latest
  • v0.15.4
  • v0.15.3
  • v0.15.2
  • v0.15.1
  • v0.15.0
  • v0.14.2
  • v0.14.1
  • v0.14.0
  • v0.13.4
  • v0.13.3
  • v0.13.2
  • v0.13.1
  • v0.13.0
  • v0.12.1
  • v0.12.0
  • v0.11.2
  • v0.11.1
  • v0.11.0
41 results

package.py

Blame
  • SConscript.py NaN GiB
    ###### Hall C Software Source SConscript Build File #####
    ###### Author:  Edward Brash (brash@jlab.org) June 2013
    
    import os
    import re
    import SCons.Util
    Import('pbaseenv')
    
    list = Glob('*.cxx', exclude=['main.C'])
    
    pbaseenv.Object('main.C')
    
    sotarget = 'HallC'
    
    #srclib = pbaseenv.SharedLibrary(target = sotarget, source = list+['HallCDict.so'],SHLIBVERSION=['$VERSION'],LIBS=[''])
    srclib = pbaseenv.SharedLibrary(target = sotarget, source = list+['HallCDict.so'],SHLIBPREFIX='../lib',LIBS=[''])
    print ('Source shared library = %s\n' % srclib)
    
    linkbase =pbaseenv.subst('$SHLIBPREFIX')+sotarget
    
    cleantarget = linkbase+'.so.'+pbaseenv.subst('$VERSION')
    localmajorcleantarget = '../'+linkbase+'.so'
    
    print('cleantarget = %s\n' % cleantarget)
    print('localmajorcleantarget = %s\n' % localmajorcleantarget)
    try:
        os.symlink(cleantarget,localmajorcleantarget)
    except:
        print (" Continuing ... ")
    
    Clean(srclib,cleantarget)
    Clean(srclib,localmajorcleantarget)
    
    #baseenv.Install('../',srclib)
    #baseenv.Alias('install',['../'])