\documentclass[xcolor=dvipsnames]{beamer}

\setbeamertemplate{navigation symbols}{}
% \setbeamertemplate{background}[grid][step=1cm]
\useoutertheme{infolines}
\usecolortheme[named=violet]{structure}
\setbeamertemplate{items}[circle]

\usepackage{tikz}
\usetikzlibrary{arrows,shapes,backgrounds}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{color}
\usepackage{xspace}
\usepackage{hyperref}
\hypersetup{
  pdftitle={Build orchestration with worch}
  pdfauthor={Brett Viren},
  colorlinks=true,
  linkcolor=DarkOrchid,
  urlcolor=DarkOrchid,
}

\newcommand{\app}[1]{\textbf{\textit{#1}}\xspace}
\def\waf{\app{waf}}
\def\hwaf{\app{hwaf}}
\def\worch{\app{worch}}

\date{\today}
\author[Brett Viren]{Brett Viren}
\institute[BNL]
{
  Physics Department
  
  \includegraphics[height=1.5cm]{bnl-logo}
}
\title[build]{LBNE Software Build}
\begin{document}


\lstset{%
  emphstyle=\color{red},
  keywordstyle=\color{black}\bfseries,
  basicstyle=\footnotesize,
  identifierstyle=\color{DarkOrchid}\ttfamily,
  commentstyle=\color{Brown}\ttfamily,
  stringstyle=\color{blue}\ttfamily,
  showstringspaces=false}

\begin{frame}[fragile]
  \frametitle{Automated Installation}
  \begin{itemize}
  \item LArSoft \textbf{1.00.02} built from \worch on RACF.  Release notes:
    \url{https://cdcvs.fnal.gov/redmine/projects/lbne-software/wiki/Larsoft-10002_build-2}
  \item Can be tried elsewhere.  Instructions:
    \url{https://cdcvs.fnal.gov/redmine/projects/lbne-software/wiki/Software_Installation_From_Source}
  \item Will attempt to forward-port this to newer releases but given
    the historical moving target of the Fermilab scripts I will not
    push on this much.
  \end{itemize}

\begin{verbatim}
 $ source /afs/rhic.bnl.gov/lbne/software/products/setups
 $ setup larsoft v1_00_02 -q e4:prof
\end{verbatim}
\end{frame}

\begin{frame}[fragile]
  \frametitle{Exercise binary UPS product tarball installation on RACF}
  \begin{itemize}
  \item Use binary scripts to provide more recent \app{larsoft} on RACF (SL6.4)
  \item \app{Larsoft} \textbf{1.00.05} and \textbf{1.00.07} (driven partly by $\mu$boone)
  \item Method found to be mostly trivial.
    \begin{itemize}
    \item Problems with unpacking git tarball due to hard links on
      AFS.  Manual fix easy if annoying to do.  Lynn has fixed latest 
      but I've not tested.
    \item Lack of version symbols in libcrypto causing run-time
      warnings due to Fermilab linking against different versions.
      Warnings are expected to be harmless.  RACF will likely fix at
      next planned upgrade.
    \item Missing \verb|lsb_release| needed by Fermilab prerequisite
      scripts not installed on RACF.  Can hack script to still run the
      check.  (script checks for devel packages, not run time packages
      which is weird, but whatevs).  RACF will add this next upgrade
      cycle.
    \end{itemize}
  \end{itemize}
  
\end{frame}

\begin{frame}
  \frametitle{UPS-free Installation}
  \begin{itemize}
  \item Ben Morgan and I proposed to prototype an upgrade to the
    \app{art}/\art{larsoft} CMake build system which is free of UPS encumbrances.
  \item This approach was agreed to by \app{art} and \app{larsoft} team members.
  \item I made a UPS-free, \worch-based config for externals.
  \item Ben has started UPS-free \texttt{CMakeLists.txt} files for \app{art}
    packages, lowest level ``cpp0x'' package is done and working.
  \item Currently externals+cpp0x builds with \worch and is UPS-free.
  \item UPS can still be layered on top to allow Fermilab to keep
    their approach.
  \end{itemize}
  In order to make this effort more efficient, and because it is a
  prototype, work is being done in a GitHub group:

  \begin{description}
  \item[group:] \url{https://github.com/lbne}
  \item[config:] \url{https://github.com/LBNE/lbne-build}
  \item[first package:] \url{https://github.com/LBNE/fnal-cpp0x}
  \end{description}

\end{frame}

\end{document}
