Open Source License

Emscripten is made available under two permissive open source licenses: theMIT license and theUniversity of Illinois/NCSA Open Source License.

There is little, if any, practical difference between the licenses. They are both offered because the:

  • MIT license is well known and understood.

  • University of Illinois/NCSA Open Source License allows Emscripten’s code to be integrated upstream into LLVM, should the opportunity arise.

The license for Emscripten 4.0.22-git (dev) is reproduced below. Thecurrent full licence can be found on GitHub (and is also present in the root of the SDK).

Emscriptenisavailableunder2licenses,theMITlicenseandtheUniversityofIllinois/NCSAOpenSourceLicense.Botharepermissiveopensourcelicenses,withlittleifanypracticaldifferencebetweenthem.Thereasonforofferingbothisthat(1)theMITlicenseiswell-known,while(2)theUniversityofIllinois/NCSAOpenSourceLicenseallowsEmscripten's code to be integrated upstream intoLLVM,whichusesthatlicense,shouldtheopportunityarise.Thefulltextofbothlicensesfollows.==============================================================================Copyright(c)2010-2014Emscriptenauthors,seeAUTHORSfile.Permissionisherebygranted,freeofcharge,toanypersonobtainingacopyofthissoftwareandassociateddocumentationfiles(the"Software"),todealintheSoftwarewithoutrestriction,includingwithoutlimitationtherightstouse,copy,modify,merge,publish,distribute,sublicense,and/orsellcopiesoftheSoftware,andtopermitpersonstowhomtheSoftwareisfurnishedtodoso,subjecttothefollowingconditions:TheabovecopyrightnoticeandthispermissionnoticeshallbeincludedinallcopiesorsubstantialportionsoftheSoftware.THESOFTWAREISPROVIDED"AS IS",WITHOUTWARRANTYOFANYKIND,EXPRESSORIMPLIED,INCLUDINGBUTNOTLIMITEDTOTHEWARRANTIESOFMERCHANTABILITY,FITNESSFORAPARTICULARPURPOSEANDNONINFRINGEMENT.INNOEVENTSHALLTHEAUTHORSORCOPYRIGHTHOLDERSBELIABLEFORANYCLAIM,DAMAGESOROTHERLIABILITY,WHETHERINANACTIONOFCONTRACT,TORTOROTHERWISE,ARISINGFROM,OUTOFORINCONNECTIONWITHTHESOFTWAREORTHEUSEOROTHERDEALINGSINTHESOFTWARE.==============================================================================Copyright(c)2010-2014Emscriptenauthors,seeAUTHORSfile.Allrightsreserved.Permissionisherebygranted,freeofcharge,toanypersonobtainingacopyofthissoftwareandassociateddocumentationfiles(the"Software"),todealwiththeSoftwarewithoutrestriction,includingwithoutlimitationtherightstouse,copy,modify,merge,publish,distribute,sublicense,and/orsellcopiesoftheSoftware,andtopermitpersonstowhomtheSoftwareisfurnishedtodoso,subjecttothefollowingconditions:Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistofconditionsandthefollowingdisclaimers.Redistributionsinbinaryformmustreproducetheabovecopyrightnotice,thislistofconditionsandthefollowingdisclaimersinthedocumentationand/orothermaterialsprovidedwiththedistribution.NeitherthenamesofMozilla,northenamesofitscontributorsmaybeusedtoendorseorpromoteproductsderivedfromthisSoftwarewithoutspecificpriorwrittenpermission.THESOFTWAREISPROVIDED"AS IS",WITHOUTWARRANTYOFANYKIND,EXPRESSORIMPLIED,INCLUDINGBUTNOTLIMITEDTOTHEWARRANTIESOFMERCHANTABILITY,FITNESSFORAPARTICULARPURPOSEANDNONINFRINGEMENT.INNOEVENTSHALLTHECONTRIBUTORSORCOPYRIGHTHOLDERSBELIABLEFORANYCLAIM,DAMAGESOROTHERLIABILITY,WHETHERINANACTIONOFCONTRACT,TORTOROTHERWISE,ARISINGFROM,OUTOFORINCONNECTIONWITHTHESOFTWAREORTHEUSEOROTHERDEALINGSWITHTHESOFTWARE.==============================================================================ThisprogramusesportionsofNode.jssourcecodelocatedinsrc/library_path.js,inaccordancewiththetermsoftheMITlicense.Node's license follows:"""        Copyright Joyent, Inc. and other Node contributors. All rights reserved.        Permission is hereby granted, free of charge, to any person obtaining a copy        of this software and associated documentation files (the "Software"), to        deal in the Software without restriction, including without limitation the        rights to use, copy, modify, merge, publish, distribute, sublicense, and/or        sell copies of the Software, and to permit persons to whom the Software is        furnished to do so, subject to the following conditions:        The above copyright notice and this permission notice shall be included in        all copies or substantial portions of the Software.        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS        IN THE SOFTWARE.    """Themusllibcprojectisbundledinthisrepo,andithastheMITlicense,seesystem/lib/libc/musl/COPYRIGHTThethird_party/subdirectorycontainscodewithotherlicenses.Noneofitisusedbydefault,butcertainoptionsuseit(e.g.,theoptionalclosurecompilerflagwillrunclosurecompilerfromthird_party/).