@@ -252,20 +252,6 @@ if targetApp :
252252 else:
253253 appPrefix = os.path.join( installPrefix, targetApp, targetAppMajorVersion )
254254
255- # find 3delight. we only build the 3delight stuff if the compiler we're building with is suitable.
256- dlReg = None
257- dlVersion = getOption( "DL_VERSION", os.environ.get( "DL_VERSION", None ) )
258- try :
259- dlReg = IEEnv.registry["apps"]["3delight"][dlVersion][platform]
260- if dlReg["compiler"]==compiler :
261- RMAN_ROOT = dlReg["location"]
262- os.environ["DELIGHT_CONF"] = "/software/config/3delight"
263-
264- # Add ribdepends location to path
265- os.environ["PATH"] = os.path.join( RMAN_ROOT, "bin" ) + ":" + os.environ["PATH"]
266- except :
267- pass
268-
269255appleseedReg = None
270256appleseedVersion = getOption( "APPLESEED_VERSION", os.environ.get("APPLESEED_VERSION", "") )
271257try :
@@ -482,8 +468,6 @@ testLibs = [
482468 os.path.join( pythonReg["location"], compiler, compilerVersion, "lib" ),
483469 os.path.join( compilerReg["location"], "lib" ),
484470]
485- if dlReg :
486- testLibs.append( dlReg["location"] + "/lib" )
487471if appleseedReg :
488472 testLibs.extend( [ APPLESEED_LIB_PATH, OSL_LIB_PATH, OIIO_LIB_PATH ] )
489473TEST_LIBPATH = ":".join( testLibs )
@@ -500,29 +484,16 @@ if targetApp :
500484 INSTALL_LIB_NAME = os.path.join( appPrefix, "lib", "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
501485 INSTALL_PYTHONLIB_NAME = os.path.join( appPrefix, "lib", "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION-python$PYTHON_VERSION" )
502486 INSTALL_PYTHON_DIR = os.path.join( appPrefix, "python" )
503- INSTALL_RMANLIB_NAME = os.path.join( appPrefix, "lib", "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
504487 INSTALL_APPLESEEDLIB_NAME = os.path.join( appPrefix, "lib", "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
505488 INSTALL_ALEMBICLIB_NAME = os.path.join( appPrefix, "lib", "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
506489 INSTALL_USDLIB_NAME = os.path.join( appPrefix, "lib", "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
507- # we don't want to build the renderman procedurals when we build apps, as otherwise they end
508- # up causing linking conflicts at rendertime. this is because the procedural would be linking to the
509- # boost version an app needs, whereas the other libraries are linking to the correct boost version for
510- # 3delight, so we just install the procedurals into a temp directory where they can't do any harm.
511- INSTALL_RMANPROCEDURAL_NAME = os.path.join( "tmp", os.environ['USER'], "unwantedRManProcedurals/$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
512- INSTALL_RMANDISPLAY_NAME = os.path.join( "tmp", os.environ['USER'], "unwantedRManDisplays/$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
513490 INSTALL_APPLESEEDOUTPUTDRIVER_NAME = os.path.join( "tmp", os.environ['USER'], "unwantedAppleseedDrivers/$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
514491else :
515492 INSTALL_HEADER_DIR = os.path.join( basePrefix, "include" )
516493 INSTALL_USD_RESOURCE_DIR = os.path.join( basePrefix, "resource" )
517494 INSTALL_LIB_NAME = os.path.join( basePrefix, "lib", compiler, compilerVersion, "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
518495 INSTALL_PYTHONLIB_NAME = os.path.join( basePrefix, "lib", compiler, compilerVersion, "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION-python$PYTHON_VERSION" )
519496 INSTALL_PYTHON_DIR = os.path.join( basePrefix, "python", pythonVersion, compiler, compilerVersion )
520- # We use basePrefix for IECoreRI, but dlPrefix for the renderman procedurals. See the note in
521- # the dlReg section for an explanation.
522- INSTALL_RMANLIB_NAME = os.path.join( basePrefix, "lib", compiler, compilerVersion, "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
523- if dlVersion:
524- INSTALL_RMANPROCEDURAL_NAME = os.path.join( basePrefix, "3delight", dlVersion, "procedurals", "python", "$PYTHON_VERSION", compiler, compilerVersion, "$IECORE_NAME" )
525- INSTALL_RMANDISPLAY_NAME = os.path.join( basePrefix, "3delight", dlVersion, "displayDrivers", compiler, compilerVersion, "$IECORE_NAME" )
526497 INSTALL_APPLESEEDLIB_NAME = os.path.join( basePrefix, "appleseed", appleseedVersion, "lib", compiler, compilerVersion, "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
527498 INSTALL_APPLESEEDOUTPUTDRIVER_NAME = os.path.join( basePrefix, "appleseed", appleseedVersion, "plugins", compiler, compilerVersion, "$IECORE_NAME" )
528499 INSTALL_ALEMBICLIB_NAME = os.path.join( basePrefix, "lib", compiler, compilerVersion, "$IECORE_NAME-$IECORE_COMPATIBILITY_VERSION" )
0 commit comments