Skip to content

Commit

Permalink
Merge pull request #73 from LLNL/release_1_0
Browse files Browse the repository at this point in the history
Release 1 0
  • Loading branch information
mcfadden8 authored Feb 20, 2019
2 parents f95bdbc + ff30ac6 commit 206a626
Show file tree
Hide file tree
Showing 58 changed files with 549 additions and 682 deletions.
16 changes: 4 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################
cmake_minimum_required (VERSION 3.5.1)
project(umap
VERSION 0.0.4
VERSION 1.0.0
LANGUAGES CXX C
)

Expand Down
23 changes: 18 additions & 5 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
UMAP is developed by Lawrence Livermore National Security.
The following copyrights apply:
Intellectual Property Notice
------------------------------

Copyright (c) 2019, Lawrence Livermore National Security, LLC. Produced at
the Lawrence Livermore National Laboratory. Written by Marty McFadden
'mcfadden8 at llnl dot gov' LLNL-CODE-733797. All rights reserved.
Umap is licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1,
Ferbruary 1999 (LICENSE-LGPL
or https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt).

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (as published by the Free
Expand All @@ -15,3 +15,16 @@ Public License for more details. You should have received a copy of the GNU
Lesser General Public License along with this program; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA.

SPDX usage
------------

Individual files contain SPDX tags instead of the full license text.
This enables machine processing of license information based on the SPDX
License Identifiers that are available here: https://spdx.org/licenses/

SPDX-License-Identifier: LGPL-2.1-only

External Packages
-------------------

387 changes: 262 additions & 125 deletions LICENSE

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
This work was produced under the auspices of the U.S. Department of
Energy by Lawrence Livermore National Laboratory under Contract
DE-AC52-07NA27344.

This work was prepared as an account of work sponsored by an agency of
the United States Government. Neither the United States Government nor
Lawrence Livermore National Security, LLC, nor any of their employees
makes any warranty, expressed or implied, or assumes any legal liability
or responsibility for the accuracy, completeness, or usefulness of any
information, apparatus, product, or process disclosed, or represents that
its use would not infringe privately owned rights.

Reference herein to any specific commercial product, process, or service
by trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the
United States Government or Lawrence Livermore National Security, LLC.

The views and opinions of authors expressed herein do not necessarily
state or reflect those of the United States Government or Lawrence
Livermore National Security, LLC, and shall not be used for advertising
or product endorsement purposes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UMAP v0.0.4 (alpha)
# UMAP v1.0.0

[![Documentation Status](https://readthedocs.org/projects/llnl-umap/badge/?version=develop)](https://llnl-umap.readthedocs.io/en/develop/?badge=develop)

Expand Down
15 changes: 4 additions & 11 deletions cmake/BuildEnv.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

# Set up the language supported for the build environment
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_C_STANDARD 99)
14 changes: 3 additions & 11 deletions cmake/BuildType.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################
# Set a default build type if none was specified
set( default_build_type "Release" )
Expand Down
14 changes: 3 additions & 11 deletions cmake/SetupUmapThirdParty.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

14 changes: 3 additions & 11 deletions config/config.h.in
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory
// Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
// UMAP Project Developers. See the top-level LICENSE file for details.
//
// Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
// LLNL-CODE-733797
//
// All rights reserved.
//
// This file is part of UMAP.
//
// For details, see https://github.com/LLNL/umap
// Please also see the COPYRIGHT and LICENSE files for LGPL license.
// SPDX-License-Identifier: LGPL-2.1-only
//////////////////////////////////////////////////////////////////////////////

#ifndef _UMAP_UMAPCONFIG_H
Expand Down
14 changes: 3 additions & 11 deletions docs/doxygen/Doxyfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

#
Expand Down
14 changes: 3 additions & 11 deletions docs/sphinx/conf.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

##############################################################################
Expand Down
14 changes: 3 additions & 11 deletions docs/sphinx/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

breathe
Expand Down
14 changes: 3 additions & 11 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################
project(psort)

Expand Down
14 changes: 3 additions & 11 deletions examples/psort.cpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory
// Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
// UMAP Project Developers. See the top-level LICENSE file for details.
//
// Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
// LLNL-CODE-733797
//
// All rights reserved.
//
// This file is part of UMAP.
//
// For details, see https://github.com/LLNL/umap
// Please also see the COPYRIGHT and LICENSE files for LGPL license.
// SPDX-License-Identifier: LGPL-2.1-only
//////////////////////////////////////////////////////////////////////////////

/*
Expand Down
14 changes: 3 additions & 11 deletions host-configs/toss_3_x86_64/gcc_4_8_5.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################
set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")
set(CMAKE_C_COMPILER "gcc" CACHE PATH "")
Expand Down
36 changes: 36 additions & 0 deletions scripts/apply-license-info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env zsh
#############################################################################
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

setopt extended_glob

RED="\033[1;31m"
GREEN="\033[1;32m"
NOCOLOR="\033[0m"

LIC_CMD=$(which lic)
if [ ! $LIC_CMD ]; then
echo "${RED} [!] This script requires the lic command."
exit 255
fi

echo "Applying licenses to files"

files_no_license=$(grep -L 'This file is part of Umpire.' \
benchmarks/**/*(^/) \
cmake/**/*(^/) \
docs/**/*~*rst(^/)\
examples/**/*(^/) \
host-configs/**/*(^/) \
scripts/**/*(^/) \
src/**/*~*tpl*(^/) \
tests/**/*(^/) \
CMakeLists.txt umpire-config.cmake.in)

echo $files_no_license | xargs $LIC_CMD -f scripts/umpire-license.txt

echo "${GREEN} [Ok] License text applied. ${NOCOLOR}"
14 changes: 3 additions & 11 deletions scripts/bamboo/build_and_test.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
#!/bin/bash
#############################################################################
# Copyright (c) 2019, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# Created by Marty McFadden, 'mcfadden8 at llnl dot gov'
# LLNL-CODE-733797
#
# All rights reserved.
#
# This file is part of UMAP.
#
# For details, see https://github.com/LLNL/umap
# Please also see the COPYRIGHT and LICENSE files for LGPL license.
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

#
Expand Down
37 changes: 37 additions & 0 deletions scripts/check-license-info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/env zsh
#############################################################################
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

# This is used for the ~*tpl* line to ignore files in bundled tpls
setopt extended_glob

autoload colors

RED="\033[1;31m"
GREEN="\033[1;32m"
NOCOLOR="\033[0m"

files_no_license=$(grep -L 'Lawrence Livermore National Security' \
cmake/**/*(^/) \
docs/**/*~*rst(^/)\
config/config.h.in\
examples/*(^/) \
host-configs/**/*(^/) \
scripts/**/*(^/) \
src/**/*~*tpl*(^/) \
tests/**/*~*csv~*xlsx~*sysinfo(^/) \
tests/CMakeLists.txt \
CMakeLists.txt)

if [ $files_no_license ]; then
print "${RED} [!] Some files are missing license text: ${NOCOLOR}"
echo "${files_no_license}"
exit 255
else
print "${GREEN} [Ok] All files have required license info."
exit 0
fi
14 changes: 14 additions & 0 deletions scripts/make_release_tarball.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
#############################################################################
# Copyright 2017-2019 Lawrence Livermore National Security, LLC and other
# UMAP Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: LGPL-2.1-only
#############################################################################

TAR_CMD=tar
VERSION=1.0.0

git archive --prefix=umap-${VERSION}/ -o umap-${VERSION}.tar HEAD 2> /dev/null

gzip umap-${VERSION}.tar
Loading

0 comments on commit 206a626

Please sign in to comment.