1N/A# The contents of this file are subject to the terms of the 1N/A# Common Development and Distribution License (the "License"). 1N/A# You may not use this file except in compliance with the License. 1N/A# See the License for the specific language governing permissions 1N/A# and limitations under the License. 1N/A# When distributing Covered Code, include this CDDL HEADER in each # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. # Currently only builds with gcc # configure in cmake does not accept many of the options set in # expected failure for test: CTestTestUpload # Remove undesriable /opt/csw lines from the Modules/*.cmake files. # The default -O3 is *MUCH* too aggressive and will break things, # not just in CMake but everywhere. # CMake sets its own Language Standard flags in the Makefile it # generates for itself. The Userland default Language Standard flags # Need to remove this option from LD_OPTIONS (only affects sparc build); # map.noexbss has the side effect of making the heap non executable. # Reflect the setting above explicitly disabling NXHEAP. # We need these in the environment, although they are already passed # as CONFIGURE_OPTIONS; otherwise the correct compilers are not used # Use system-installed third-party libraries, rather than the private # copies in the cmake source. # Need C and C++ compiler locations for cmake tests # Results output is different on Intel vs. SPARC. '-e "s/\s\s*[0-9][0-9]*\.[0-9][0-9]* sec/ SEC sec/"' \
'-e "s/\][0-9][0-9]*\.[0-9][0-9]* sec/\]SEC sec/"' \
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
'-e "/^XXX_REMOVE_XXX$$/d" ' # Install the man pages this way because we do not have Sphinx. # Built binaries are moved aside and replaced with # symlinks to the system-installed binaries in /usr/bin, # which will be executed for the system-test target # Restore the built binaries after system-test is done